PageRenderTime 22ms CodeModel.GetById 17ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/node_modules/moment/locale/gd.js

https://bitbucket.org/coleman333/smartsite
JavaScript | 75 lines | 64 code | 10 blank | 1 comment | 3 complexity | 87ae2e8d7873712a8d4b45d059b5ce4e MD5 | raw file
 1//! moment.js locale configuration
 2
 3;(function (global, factory) {
 4   typeof exports === 'object' && typeof module !== 'undefined'
 5       && typeof require === 'function' ? factory(require('../moment')) :
 6   typeof define === 'function' && define.amd ? define(['../moment'], factory) :
 7   factory(global.moment)
 8}(this, (function (moment) { 'use strict';
 9
10
11    var months = [
12        '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'
13    ];
14
15    var monthsShort = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh'];
16
17    var weekdays = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'];
18
19    var weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'];
20
21    var weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
22
23    var gd = moment.defineLocale('gd', {
24        months : months,
25        monthsShort : monthsShort,
26        monthsParseExact : true,
27        weekdays : weekdays,
28        weekdaysShort : weekdaysShort,
29        weekdaysMin : weekdaysMin,
30        longDateFormat : {
31            LT : 'HH:mm',
32            LTS : 'HH:mm:ss',
33            L : 'DD/MM/YYYY',
34            LL : 'D MMMM YYYY',
35            LLL : 'D MMMM YYYY HH:mm',
36            LLLL : 'dddd, D MMMM YYYY HH:mm'
37        },
38        calendar : {
39            sameDay : '[An-diugh aig] LT',
40            nextDay : '[A-màireach aig] LT',
41            nextWeek : 'dddd [aig] LT',
42            lastDay : '[An-dè aig] LT',
43            lastWeek : 'dddd [seo chaidh] [aig] LT',
44            sameElse : 'L'
45        },
46        relativeTime : {
47            future : 'ann an %s',
48            past : 'bho chionn %s',
49            s : 'beagan diogan',
50            ss : '%d diogan',
51            m : 'mionaid',
52            mm : '%d mionaidean',
53            h : 'uair',
54            hh : '%d uairean',
55            d : 'latha',
56            dd : '%d latha',
57            M : 'mìos',
58            MM : '%d mìosan',
59            y : 'bliadhna',
60            yy : '%d bliadhna'
61        },
62        dayOfMonthOrdinalParse : /\d{1,2}(d|na|mh)/,
63        ordinal : function (number) {
64            var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
65            return number + output;
66        },
67        week : {
68            dow : 1, // Monday is the first day of the week.
69            doy : 4  // The week that contains Jan 4th is the first week of the year.
70        }
71    });
72
73    return gd;
74
75})));