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
: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.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 dayOfMonthOrdinalParse
: /\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.