1 //! moment.js locale configuration
2 //! locale : brazilian portuguese (pt-br)
3 //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
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_br = moment.defineLocale('pt-br', {
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 [às] HH:mm',
26 LLLL : 'dddd, D [de] MMMM [de] YYYY [às] 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
43 s : 'poucos segundos',
55 ordinalParse: /\d{1,2}º/,