1 //! moment.js locale configuration
2 //! locale : Portuguese [pt]
3 //! author : Jefferson : https://github.com/jalex79
5 ;(function (global
, factory
) {
6 typeof exports
=== 'object' && typeof module
!== 'undefined'
7 && typeof require
=== 'function' ? factory(require('../moment')) :
8 typeof define
=== 'function' && define
.amd
? define(['../moment'], factory
) :
10 }(this, function (moment
) { 'use strict';
13 var pt
= moment
.defineLocale('pt', {
14 months
: 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
15 monthsShort
: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
16 weekdays
: 'Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado'.split('_'),
17 weekdaysShort
: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
18 weekdaysMin
: 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'),
19 weekdaysParseExact
: true,
24 LL
: 'D [de] MMMM [de] YYYY',
25 LLL
: 'D [de] MMMM [de] YYYY HH:mm',
26 LLLL
: 'dddd, D [de] MMMM [de] YYYY HH:mm'
29 sameDay
: '[Hoje às] LT',
30 nextDay
: '[Amanhã às] LT',
31 nextWeek
: 'dddd [às] LT',
32 lastDay
: '[Ontem às] LT',
33 lastWeek: function () {
34 return (this.day() === 0 || this.day() === 6) ?
35 '[Último] dddd [às] LT' : // Saturday + Sunday
36 '[Última] dddd [às] LT'; // Monday - Friday
55 ordinalParse
: /\d{1,2}º/,
58 dow
: 1, // Monday is the first day of the week.
59 doy
: 4 // The week that contains Jan 4th is the first week of the year.