1 // moment.js locale configuration
2 // locale : norwegian nynorsk (nn)
3 // author : https://github.com/mechuwind
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
12 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
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('_'),
27 LLL : 'D MMMM YYYY LT',
28 LLLL : 'dddd D MMMM YYYY LT'
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',
40 past : 'for %s sidan',
53 ordinalParse: /\d{1,2}\./,
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.