1 // moment.js locale configuration
2 // locale : norwegian bokmål (nb)
3 // authors : Espen Hovlandsdal : https://github.com/rexxars
4 // Sigurd Gartmann : https://github.com/sigurdga
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
15 return moment.defineLocale('nb', {
16 months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
17 monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
18 weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
19 weekdaysShort : 'søn_man_tirs_ons_tors_fre_lør'.split('_'),
20 weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
26 LLL : 'D. MMMM YYYY [kl.] LT',
27 LLLL : 'dddd D. MMMM YYYY [kl.] LT'
30 sameDay: '[i dag kl.] LT',
31 nextDay: '[i morgen kl.] LT',
32 nextWeek: 'dddd [kl.] LT',
33 lastDay: '[i går kl.] LT',
34 lastWeek: '[forrige] dddd [kl.] LT',
39 past : 'for %s siden',
52 ordinalParse: /\d{1,2}\./,
55 dow : 1, // Monday is the first day of the week.
56 doy : 4 // The week that contains Jan 4th is the first week of the year.