GPQAPP
1//! moment.js locale configuration
2//! locale : Scottish Gaelic [gd]
3//! author : Jon Ashdown : https://github.com/jonashdown
4
5;(function (global, factory) {6typeof exports === 'object' && typeof module !== 'undefined'7&& typeof require === 'function' ? factory(require('../moment')) :8typeof define === 'function' && define.amd ? define(['../moment'], factory) :9factory(global.moment)10}(this, (function (moment) { 'use strict';11
12//! moment.js locale configuration13
14var months = [15'Am Faoilleach',16'An Gearran',17'Am Màrt',18'An Giblean',19'An Cèitean',20'An t-Ògmhios',21'An t-Iuchar',22'An Lùnastal',23'An t-Sultain',24'An Dàmhair',25'An t-Samhain',26'An Dùbhlachd',27],28monthsShort = [29'Faoi',30'Gear',31'Màrt',32'Gibl',33'Cèit',34'Ògmh',35'Iuch',36'Lùn',37'Sult',38'Dàmh',39'Samh',40'Dùbh',41],42weekdays = [43'Didòmhnaich',44'Diluain',45'Dimàirt',46'Diciadain',47'Diardaoin',48'Dihaoine',49'Disathairne',50],51weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],52weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];53
54var gd = moment.defineLocale('gd', {55months: months,56monthsShort: monthsShort,57monthsParseExact: true,58weekdays: weekdays,59weekdaysShort: weekdaysShort,60weekdaysMin: weekdaysMin,61longDateFormat: {62LT: 'HH:mm',63LTS: 'HH:mm:ss',64L: 'DD/MM/YYYY',65LL: 'D MMMM YYYY',66LLL: 'D MMMM YYYY HH:mm',67LLLL: 'dddd, D MMMM YYYY HH:mm',68},69calendar: {70sameDay: '[An-diugh aig] LT',71nextDay: '[A-màireach aig] LT',72nextWeek: 'dddd [aig] LT',73lastDay: '[An-dè aig] LT',74lastWeek: 'dddd [seo chaidh] [aig] LT',75sameElse: 'L',76},77relativeTime: {78future: 'ann an %s',79past: 'bho chionn %s',80s: 'beagan diogan',81ss: '%d diogan',82m: 'mionaid',83mm: '%d mionaidean',84h: 'uair',85hh: '%d uairean',86d: 'latha',87dd: '%d latha',88M: 'mìos',89MM: '%d mìosan',90y: 'bliadhna',91yy: '%d bliadhna',92},93dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,94ordinal: function (number) {95var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';96return number + output;97},98week: {99dow: 1, // Monday is the first day of the week.100doy: 4, // The week that contains Jan 4th is the first week of the year.101},102});103
104return gd;105
106})));107