1// moment.js locale configuration 2// locale : portuguese (pt) 3// author : Jefferson : https://github.com/jalex79 4 5(function (factory) { 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 10 } else { 11 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global 12 } 13}(function (moment) { 14 return moment.defineLocale('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('_'), 20 longDateFormat : { 21 LT : 'HH:mm', 22 LTS : 'LT:ss', 23 L : 'DD/MM/YYYY', 24 LL : 'D [de] MMMM [de] YYYY', 25 LLL : 'D [de] MMMM [de] YYYY LT', 26 LLLL : 'dddd, D [de] MMMM [de] YYYY LT' 27 }, 28 calendar : { 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 37 }, 38 sameElse: 'L' 39 }, 40 relativeTime : { 41 future : 'em %s', 42 past : 'há %s', 43 s : 'segundos', 44 m : 'um minuto', 45 mm : '%d minutos', 46 h : 'uma hora', 47 hh : '%d horas', 48 d : 'um dia', 49 dd : '%d dias', 50 M : 'um mês', 51 MM : '%d meses', 52 y : 'um ano', 53 yy : '%d anos' 54 }, 55 ordinalParse: /\d{1,2}º/, 56 ordinal : '%dº', 57 week : { 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. 60 } 61 }); 62}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.