Merge "Don't fallback from uk to ru"
[lhc/web/wiklou.git] / resources / lib / moment / locale / nn.js
1 // moment.js locale configuration
2 // locale : norwegian nynorsk (nn)
3 // author : https://github.com/mechuwind
4
5 (function (factory) {
6 // Comment out broken wrapper, see T145382
7 /*if (typeof define === 'function' && define.amd) {
8 define(['moment'], factory); // AMD
9 } else if (typeof exports === 'object') {
10 module.exports = factory(require('../moment')); // Node
11 } else {
12 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
13 }*/
14 factory(this.moment);
15 }(function (moment) {
16 return moment.defineLocale('nn', {
17 months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
18 monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
19 weekdays : 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
20 weekdaysShort : 'sun_mån_tys_ons_tor_fre_lau'.split('_'),
21 weekdaysMin : 'su_må_ty_on_to_fr_lø'.split('_'),
22 longDateFormat : {
23 LT : 'HH:mm',
24 LTS : 'LT:ss',
25 L : 'DD.MM.YYYY',
26 LL : 'D MMMM YYYY',
27 LLL : 'D MMMM YYYY LT',
28 LLLL : 'dddd D MMMM YYYY LT'
29 },
30 calendar : {
31 sameDay: '[I dag klokka] LT',
32 nextDay: '[I morgon klokka] LT',
33 nextWeek: 'dddd [klokka] LT',
34 lastDay: '[I går klokka] LT',
35 lastWeek: '[Føregåande] dddd [klokka] LT',
36 sameElse: 'L'
37 },
38 relativeTime : {
39 future : 'om %s',
40 past : 'for %s sidan',
41 s : 'nokre sekund',
42 m : 'eit minutt',
43 mm : '%d minutt',
44 h : 'ein time',
45 hh : '%d timar',
46 d : 'ein dag',
47 dd : '%d dagar',
48 M : 'ein månad',
49 MM : '%d månader',
50 y : 'eit år',
51 yy : '%d år'
52 },
53 ordinalParse: /\d{1,2}\./,
54 ordinal : '%d.',
55 week : {
56 dow : 1, // Monday is the first day of the week.
57 doy : 4 // The week that contains Jan 4th is the first week of the year.
58 }
59 });
60 }));