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';
14 'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd'
17 var monthsShort
= ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh'];
19 var weekdays
= ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'];
21 var weekdaysShort
= ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'];
23 var weekdaysMin
= ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
25 var gd
= moment
.defineLocale('gd', {
27 monthsShort
: monthsShort
,
28 monthsParseExact
: true,
30 weekdaysShort
: weekdaysShort
,
31 weekdaysMin
: weekdaysMin
,
37 LLL
: 'D MMMM YYYY HH:mm',
38 LLLL
: 'dddd, D MMMM YYYY HH:mm'
41 sameDay
: '[An-diugh aig] LT',
42 nextDay
: '[A-màireach aig] LT',
43 nextWeek
: 'dddd [aig] LT',
44 lastDay
: '[An-dè aig] LT',
45 lastWeek
: 'dddd [seo chaidh] [aig] LT',
50 past
: 'bho chionn %s',
63 ordinalParse
: /\d{1,2}(d|na|mh)/,
64 ordinal : function (number
) {
65 var output
= number
=== 1 ? 'd' : number
% 10 === 2 ? 'na' : 'mh';
66 return number
+ output
;
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.