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