Merge "Add hook for custom difference engine (WikEdDiff)"
[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 if (typeof define === 'function' && define.amd) {
7 define(['moment'], factory); // AMD
8 } else if (typeof exports === 'object') {
9 module.exports = factory(require('../moment')); // Node
10 } else {
11 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
12 }
13 }(function (moment) {
14 return moment.defineLocale('nn', {
15 months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
16 monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
17 weekdays : 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
18 weekdaysShort : 'sun_mån_tys_ons_tor_fre_lau'.split('_'),
19 weekdaysMin : 'su_må_ty_on_to_fr_lø'.split('_'),
20 longDateFormat : {
21 LT : 'HH:mm',
22 LTS : 'LT:ss',
23 L : 'DD.MM.YYYY',
24 LL : 'D MMMM YYYY',
25 LLL : 'D MMMM YYYY LT',
26 LLLL : 'dddd D MMMM YYYY LT'
27 },
28 calendar : {
29 sameDay: '[I dag klokka] LT',
30 nextDay: '[I morgon klokka] LT',
31 nextWeek: 'dddd [klokka] LT',
32 lastDay: '[I går klokka] LT',
33 lastWeek: '[Føregåande] dddd [klokka] LT',
34 sameElse: 'L'
35 },
36 relativeTime : {
37 future : 'om %s',
38 past : 'for %s sidan',
39 s : 'nokre sekund',
40 m : 'eit minutt',
41 mm : '%d minutt',
42 h : 'ein time',
43 hh : '%d timar',
44 d : 'ein dag',
45 dd : '%d dagar',
46 M : 'ein månad',
47 MM : '%d månader',
48 y : 'eit år',
49 yy : '%d år'
50 },
51 ordinalParse: /\d{1,2}\./,
52 ordinal : '%d.',
53 week : {
54 dow : 1, // Monday is the first day of the week.
55 doy : 4 // The week that contains Jan 4th is the first week of the year.
56 }
57 });
58 }));