1 //! moment.js locale configuration
2 //! locale : Galician [gl]
3 //! author : Juan G. Hurtado : https://github.com/juanghurtado
5 ;(function (global
, factory
) {
6 typeof exports
=== 'object' && typeof module
!== 'undefined'
7 && typeof require
=== 'function' ? factory(require('../moment')) :
8 typeof define
=== 'function' && define
.amd
? define(['../moment'], factory
) :
10 }(this, (function (moment
) { 'use strict';
13 var gl
= moment
.defineLocale('gl', {
14 months
: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'),
15 monthsShort
: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'),
16 monthsParseExact
: true,
17 weekdays
: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
18 weekdaysShort
: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
19 weekdaysMin
: 'do_lu_ma_mé_xo_ve_sá'.split('_'),
20 weekdaysParseExact
: true,
25 LL
: 'D [de] MMMM [de] YYYY',
26 LLL
: 'D [de] MMMM [de] YYYY H:mm',
27 LLLL
: 'dddd, D [de] MMMM [de] YYYY H:mm'
30 sameDay : function () {
31 return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
33 nextDay : function () {
34 return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
36 nextWeek : function () {
37 return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
39 lastDay : function () {
40 return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT';
42 lastWeek : function () {
43 return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
48 future : function (str
) {
49 if (str
.indexOf('un') === 0) {
67 dayOfMonthOrdinalParse
: /\d{1,2}º/,
70 dow
: 1, // Monday is the first day of the week.
71 doy
: 4 // The week that contains Jan 4th is the first week of the year.