1// moment.js locale configuration 2// locale : brazilian portuguese (pt-br) 3// author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira 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(window.moment); // Browser global 12 } 13}(function (moment) { 14 return moment.defineLocale('pt-br', { 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 L : "DD/MM/YYYY", 23 LL : "D [de] MMMM [de] YYYY", 24 LLL : "D [de] MMMM [de] YYYY [à s] LT", 25 LLLL : "dddd, D [de] MMMM [de] YYYY [à s] LT" 26 }, 27 calendar : { 28 sameDay: '[Hoje à s] LT', 29 nextDay: '[Amanhã à s] LT', 30 nextWeek: 'dddd [à s] LT', 31 lastDay: '[Ontem à s] LT', 32 lastWeek: function () { 33 return (this.day() === 0 || this.day() === 6) ? 34 '[Ãltimo] dddd [à s] LT' : // Saturday + Sunday 35 '[Ãltima] dddd [à s] LT'; // Monday - Friday 36 }, 37 sameElse: 'L' 38 }, 39 relativeTime : { 40 future : "em %s", 41 past : "%s atrás", 42 s : "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 ordinal : '%dº' 55 }); 56}));
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.