LaravelTest
85 строк · 2.9 Кб
1//! moment.js locale configuration
2//! locale : Galician [gl]
3//! author : Juan G. Hurtado : https://github.com/juanghurtado
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 gl = moment.defineLocale('gl', {15months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split(16'_'17),18monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split(19'_'20),21monthsParseExact: true,22weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),23weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),24weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),25weekdaysParseExact: true,26longDateFormat: {27LT: 'H:mm',28LTS: 'H:mm:ss',29L: 'DD/MM/YYYY',30LL: 'D [de] MMMM [de] YYYY',31LLL: 'D [de] MMMM [de] YYYY H:mm',32LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',33},34calendar: {35sameDay: function () {36return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';37},38nextDay: function () {39return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';40},41nextWeek: function () {42return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';43},44lastDay: function () {45return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';46},47lastWeek: function () {48return (49'[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'50);51},52sameElse: 'L',53},54relativeTime: {55future: function (str) {56if (str.indexOf('un') === 0) {57return 'n' + str;58}59return 'en ' + str;60},61past: 'hai %s',62s: 'uns segundos',63ss: '%d segundos',64m: 'un minuto',65mm: '%d minutos',66h: 'unha hora',67hh: '%d horas',68d: 'un día',69dd: '%d días',70M: 'un mes',71MM: '%d meses',72y: 'un ano',73yy: '%d anos',74},75dayOfMonthOrdinalParse: /\d{1,2}º/,76ordinal: '%dº',77week: {78dow: 1, // Monday is the first day of the week.79doy: 4, // The week that contains Jan 4th is the first week of the year.80},81});82
83return gl;84
85})));86