1 //! moment.js locale configuration
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
) :
8 }(this, (function (moment
) { 'use strict';
11 var gl
= moment
.defineLocale('gl', {
12 months
: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'),
13 monthsShort
: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'),
14 monthsParseExact
: true,
15 weekdays
: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
16 weekdaysShort
: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
17 weekdaysMin
: 'do_lu_ma_mé_xo_ve_sá'.split('_'),
18 weekdaysParseExact
: true,
23 LL
: 'D [de] MMMM [de] YYYY',
24 LLL
: 'D [de] MMMM [de] YYYY H:mm',
25 LLLL
: 'dddd, D [de] MMMM [de] YYYY H:mm'
28 sameDay : function () {
29 return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
31 nextDay : function () {
32 return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
34 nextWeek : function () {
35 return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
37 lastDay : function () {
38 return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT';
40 lastWeek : function () {
41 return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
46 future : function (str
) {
47 if (str
.indexOf('un') === 0) {
66 dayOfMonthOrdinalParse
: /\d{1,2}º/,
69 dow
: 1, // Monday is the first day of the week.
70 doy
: 4 // The week that contains Jan 4th is the first week of the year.