LaravelTest
73 строки · 2.5 Кб
1//! moment.js locale configuration
2//! locale : Portuguese [pt]
3//! author : Jefferson : https://github.com/jalex79
4
5;(function (global, factory) {6typeof exports === 'object' && typeof module !== 'undefined'7&& typeof require === 'function' ? factory(require('../moment')) :8typeof define === 'function' && define.amd ? define(['../moment'], factory) :9factory(global.moment)10}(this, (function (moment) { 'use strict';11
12//! moment.js locale configuration13
14var pt = moment.defineLocale('pt', {15months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(16'_'17),18monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),19weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(20'_'21),22weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),23weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),24weekdaysParseExact: true,25longDateFormat: {26LT: 'HH:mm',27LTS: 'HH:mm:ss',28L: 'DD/MM/YYYY',29LL: 'D [de] MMMM [de] YYYY',30LLL: 'D [de] MMMM [de] YYYY HH:mm',31LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',32},33calendar: {34sameDay: '[Hoje às] LT',35nextDay: '[Amanhã às] LT',36nextWeek: 'dddd [às] LT',37lastDay: '[Ontem às] LT',38lastWeek: function () {39return this.day() === 0 || this.day() === 640? '[Último] dddd [às] LT' // Saturday + Sunday41: '[Última] dddd [às] LT'; // Monday - Friday42},43sameElse: 'L',44},45relativeTime: {46future: 'em %s',47past: 'há %s',48s: 'segundos',49ss: '%d segundos',50m: 'um minuto',51mm: '%d minutos',52h: 'uma hora',53hh: '%d horas',54d: 'um dia',55dd: '%d dias',56w: 'uma semana',57ww: '%d semanas',58M: 'um mês',59MM: '%d meses',60y: 'um ano',61yy: '%d anos',62},63dayOfMonthOrdinalParse: /\d{1,2}º/,64ordinal: '%dº',65week: {66dow: 1, // Monday is the first day of the week.67doy: 4, // The week that contains Jan 4th is the first week of the year.68},69});70
71return pt;72
73})));74