- updated package.json plugins (fontawesome) - updated npm/Plugins - removed bootstrap css files - replaced bootstrap-wysihtml5 (it's not support BS4) with summernote - updated bootstrap-slider to latest version & updated demo - replaced old chartjs demos with new chartjs - updated bootstrap-colorpicker & updated forms/advanced demo file - removed ckeditor in order to respect licenses - replaced bootstrap-datepicker & bootstrap-timepicker with tempusdominus-bootstrap-4
64 lines
2.3 KiB
JavaScript
64 lines
2.3 KiB
JavaScript
//! moment.js locale configuration
|
|
|
|
;(function (global, factory) {
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
factory(global.moment)
|
|
}(this, (function (moment) { 'use strict';
|
|
|
|
|
|
var pt = moment.defineLocale('pt', {
|
|
months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
|
|
monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
|
|
weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
|
|
weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
|
|
weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
|
|
weekdaysParseExact : true,
|
|
longDateFormat : {
|
|
LT : 'HH:mm',
|
|
LTS : 'HH:mm:ss',
|
|
L : 'DD/MM/YYYY',
|
|
LL : 'D [de] MMMM [de] YYYY',
|
|
LLL : 'D [de] MMMM [de] YYYY HH:mm',
|
|
LLLL : 'dddd, D [de] MMMM [de] YYYY HH:mm'
|
|
},
|
|
calendar : {
|
|
sameDay: '[Hoje às] LT',
|
|
nextDay: '[Amanhã às] LT',
|
|
nextWeek: 'dddd [às] LT',
|
|
lastDay: '[Ontem às] LT',
|
|
lastWeek: function () {
|
|
return (this.day() === 0 || this.day() === 6) ?
|
|
'[Último] dddd [às] LT' : // Saturday + Sunday
|
|
'[Última] dddd [às] LT'; // Monday - Friday
|
|
},
|
|
sameElse: 'L'
|
|
},
|
|
relativeTime : {
|
|
future : 'em %s',
|
|
past : 'há %s',
|
|
s : 'segundos',
|
|
ss : '%d segundos',
|
|
m : 'um minuto',
|
|
mm : '%d minutos',
|
|
h : 'uma hora',
|
|
hh : '%d horas',
|
|
d : 'um dia',
|
|
dd : '%d dias',
|
|
M : 'um mês',
|
|
MM : '%d meses',
|
|
y : 'um ano',
|
|
yy : '%d anos'
|
|
},
|
|
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
|
ordinal : '%dº',
|
|
week : {
|
|
dow : 1, // Monday is the first day of the week.
|
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
}
|
|
});
|
|
|
|
return pt;
|
|
|
|
})));
|