summaryrefslogtreecommitdiffstats
path: root/js/vendor/momentjs/locale/gl.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vendor/momentjs/locale/gl.js')
-rw-r--r--js/vendor/momentjs/locale/gl.js36
1 files changed, 19 insertions, 17 deletions
diff --git a/js/vendor/momentjs/locale/gl.js b/js/vendor/momentjs/locale/gl.js
index 5ff9e3fe3..ef8e7043b 100644
--- a/js/vendor/momentjs/locale/gl.js
+++ b/js/vendor/momentjs/locale/gl.js
@@ -1,17 +1,16 @@
-// moment.js locale configuration
-// locale : galician (gl)
-// author : Juan G. Hurtado : https://github.com/juanghurtado
+//! moment.js locale configuration
+//! locale : galician (gl)
+//! author : Juan G. Hurtado : https://github.com/juanghurtado
-(function (factory) {
- if (typeof define === 'function' && define.amd) {
- define(['moment'], factory); // AMD
- } else if (typeof exports === 'object') {
- module.exports = factory(require('../moment')); // Node
- } else {
- factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
- }
-}(function (moment) {
- return moment.defineLocale('gl', {
+;(function (global, factory) {
+ typeof exports === 'object' && typeof module !== 'undefined'
+ && typeof require === 'function' ? factory(require('../moment')) :
+ typeof define === 'function' && define.amd ? define(['moment'], factory) :
+ factory(global.moment)
+}(this, function (moment) { 'use strict';
+
+
+ var gl = moment.defineLocale('gl', {
months : 'Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro'.split('_'),
monthsShort : 'Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.'.split('_'),
weekdays : 'Domingo_Luns_Martes_Mércores_Xoves_Venres_Sábado'.split('_'),
@@ -19,11 +18,11 @@
weekdaysMin : 'Do_Lu_Ma_Mé_Xo_Ve_Sá'.split('_'),
longDateFormat : {
LT : 'H:mm',
- LTS : 'LT:ss',
+ LTS : 'H:mm:ss',
L : 'DD/MM/YYYY',
LL : 'D MMMM YYYY',
- LLL : 'D MMMM YYYY LT',
- LLLL : 'dddd D MMMM YYYY LT'
+ LLL : 'D MMMM YYYY H:mm',
+ LLLL : 'dddd D MMMM YYYY H:mm'
},
calendar : {
sameDay : function () {
@@ -70,4 +69,7 @@
doy : 7 // The week that contains Jan 1st is the first week of the year.
}
});
-}));
+
+ return gl;
+
+})); \ No newline at end of file