Upgrade moment from 2.19.3 to 2.24.0
[lhc/web/wiklou.git] / resources / lib / moment / locale / pt.js
1 //! moment.js locale configuration
2
3 ;(function (global, factory) {
4 typeof exports === 'object' && typeof module !== 'undefined'
5 && typeof require === 'function' ? factory(require('../moment')) :
6 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
7 factory(global.moment)
8 }(this, (function (moment) { 'use strict';
9
10
11 var pt = moment.defineLocale('pt', {
12 months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
13 monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
14 weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
15 weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
16 weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
17 weekdaysParseExact : true,
18 longDateFormat : {
19 LT : 'HH:mm',
20 LTS : 'HH:mm:ss',
21 L : 'DD/MM/YYYY',
22 LL : 'D [de] MMMM [de] YYYY',
23 LLL : 'D [de] MMMM [de] YYYY HH:mm',
24 LLLL : 'dddd, D [de] MMMM [de] YYYY HH:mm'
25 },
26 calendar : {
27 sameDay: '[Hoje às] LT',
28 nextDay: '[Amanhã às] LT',
29 nextWeek: 'dddd [às] LT',
30 lastDay: '[Ontem às] LT',
31 lastWeek: function () {
32 return (this.day() === 0 || this.day() === 6) ?
33 '[Último] dddd [às] LT' : // Saturday + Sunday
34 '[Última] dddd [às] LT'; // Monday - Friday
35 },
36 sameElse: 'L'
37 },
38 relativeTime : {
39 future : 'em %s',
40 past : 'há %s',
41 s : 'segundos',
42 ss : '%d segundos',
43 m : 'um minuto',
44 mm : '%d minutos',
45 h : 'uma hora',
46 hh : '%d horas',
47 d : 'um dia',
48 dd : '%d dias',
49 M : 'um mês',
50 MM : '%d meses',
51 y : 'um ano',
52 yy : '%d anos'
53 },
54 dayOfMonthOrdinalParse: /\d{1,2}º/,
55 ordinal : '%dº',
56 week : {
57 dow : 1, // Monday is the first day of the week.
58 doy : 4 // The week that contains Jan 4th is the first week of the year.
59 }
60 });
61
62 return pt;
63
64 })));