1 // moment.js language configuration
2 // language : portuguese (pt)
3 // author : Jefferson : https://github.com/jalex79
6 if (typeof define
=== 'function' && define
.amd
) {
7 define(['moment'], factory
); // AMD
8 } else if (typeof exports
=== 'object') {
9 module
.exports
= factory(require('../moment')); // Node
11 factory(window
.moment
); // Browser global
14 return moment
.lang('pt', {
15 months
: "Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),
16 monthsShort
: "Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),
17 weekdays
: "Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),
18 weekdaysShort
: "Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),
19 weekdaysMin
: "Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),
23 LL
: "D [de] MMMM [de] YYYY",
24 LLL
: "D [de] MMMM [de] YYYY LT",
25 LLLL
: "dddd, D [de] MMMM [de] YYYY LT"
28 sameDay
: '[Hoje às] LT',
29 nextDay
: '[Amanhã às] LT',
30 nextWeek
: 'dddd [às] LT',
31 lastDay
: '[Ontem às] LT',
32 lastWeek: function () {
33 return (this.day() === 0 || this.day() === 6) ?
34 '[Último] dddd [às] LT' : // Saturday + Sunday
35 '[Última] dddd [às] LT'; // Monday - Friday
56 dow
: 1, // Monday is the first day of the week.
57 doy
: 4 // The week that contains Jan 4th is the first week of the year.