1 // moment.js language configuration
2 // language : galician (gl)
3 // author : Juan G. Hurtado : https://github.com/juanghurtado
6 if (typeof define === 'function' && define.amd) {
7 define(['moment'], factory); // AMD
8 } else if (typeof exports === 'object') {
9 module.exports = factory(require('../moment')); // Node
11 factory(window.moment); // Browser global
14 return moment.lang('gl', {
15 months : "Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro".split("_"),
16 monthsShort : "Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.".split("_"),
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("_"),
24 LLL : "D MMMM YYYY LT",
25 LLLL : "dddd D MMMM YYYY LT"
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 === "uns segundos") {
48 return "nuns segundos";
67 dow : 1, // Monday is the first day of the week.
68 doy : 7 // The week that contains Jan 1st is the first week of the year.