1 //! moment.js locale configuration
2 //! locale : Scottish Gaelic [gd]
3 //! author : Jon Ashdown : https://github.com/jonashdown
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';
12 //! moment.js locale configuration
51 weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],
52 weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
54 var gd = moment.defineLocale('gd', {
56 monthsShort: monthsShort,
57 monthsParseExact: true,
59 weekdaysShort: weekdaysShort,
60 weekdaysMin: weekdaysMin,
66 LLL: 'D MMMM YYYY HH:mm',
67 LLLL: 'dddd, D MMMM YYYY HH:mm',
70 sameDay: '[An-diugh aig] LT',
71 nextDay: '[A-màireach aig] LT',
72 nextWeek: 'dddd [aig] LT',
73 lastDay: '[An-dè aig] LT',
74 lastWeek: 'dddd [seo chaidh] [aig] LT',
79 past: 'bho chionn %s',
93 dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
94 ordinal: function (number) {
95 var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
96 return number + output;
99 dow: 1, // Monday is the first day of the week.
100 doy: 4, // The week that contains Jan 4th is the first week of the year.