2016-02-05 15:42:48 -05:00
|
|
|
//! moment.js locale configuration
|
2020-11-10 20:34:26 -05:00
|
|
|
//! locale : Norwegian Bokmål [nb]
|
|
|
|
//! authors : Espen Hovlandsdal : https://github.com/rexxars
|
|
|
|
//! Sigurd Gartmann : https://github.com/sigurdga
|
|
|
|
//! Stephen Ramthun : https://github.com/stephenramthun
|
2014-08-20 14:41:50 -04:00
|
|
|
|
2016-02-05 15:42:48 -05:00
|
|
|
;(function (global, factory) {
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
2017-04-20 00:24:20 -04:00
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
2016-02-05 15:42:48 -05:00
|
|
|
factory(global.moment)
|
2017-04-20 00:24:20 -04:00
|
|
|
}(this, (function (moment) { 'use strict';
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2020-11-10 20:34:26 -05:00
|
|
|
//! moment.js locale configuration
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2018-04-26 03:15:53 -04:00
|
|
|
var nb = moment.defineLocale('nb', {
|
2020-11-10 20:34:26 -05:00
|
|
|
months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
|
|
|
|
'_'
|
|
|
|
),
|
|
|
|
monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split(
|
|
|
|
'_'
|
|
|
|
),
|
|
|
|
monthsParseExact: true,
|
|
|
|
weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
|
|
|
|
weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),
|
|
|
|
weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
|
|
|
|
weekdaysParseExact: true,
|
|
|
|
longDateFormat: {
|
|
|
|
LT: 'HH:mm',
|
|
|
|
LTS: 'HH:mm:ss',
|
|
|
|
L: 'DD.MM.YYYY',
|
|
|
|
LL: 'D. MMMM YYYY',
|
|
|
|
LLL: 'D. MMMM YYYY [kl.] HH:mm',
|
|
|
|
LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
2020-11-10 20:34:26 -05:00
|
|
|
calendar: {
|
2018-04-26 03:15:53 -04:00
|
|
|
sameDay: '[i dag kl.] LT',
|
|
|
|
nextDay: '[i morgen kl.] LT',
|
|
|
|
nextWeek: 'dddd [kl.] LT',
|
|
|
|
lastDay: '[i går kl.] LT',
|
|
|
|
lastWeek: '[forrige] dddd [kl.] LT',
|
2020-11-10 20:34:26 -05:00
|
|
|
sameElse: 'L',
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
2020-11-10 20:34:26 -05:00
|
|
|
relativeTime: {
|
|
|
|
future: 'om %s',
|
|
|
|
past: '%s siden',
|
|
|
|
s: 'noen sekunder',
|
|
|
|
ss: '%d sekunder',
|
|
|
|
m: 'ett minutt',
|
|
|
|
mm: '%d minutter',
|
|
|
|
h: 'en time',
|
|
|
|
hh: '%d timer',
|
|
|
|
d: 'en dag',
|
|
|
|
dd: '%d dager',
|
|
|
|
w: 'en uke',
|
|
|
|
ww: '%d uker',
|
|
|
|
M: 'en måned',
|
|
|
|
MM: '%d måneder',
|
|
|
|
y: 'ett år',
|
|
|
|
yy: '%d år',
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
2020-11-10 20:34:26 -05:00
|
|
|
ordinal: '%d.',
|
|
|
|
week: {
|
|
|
|
dow: 1, // Monday is the first day of the week.
|
|
|
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
|
|
},
|
2018-04-26 03:15:53 -04:00
|
|
|
});
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2018-04-26 03:15:53 -04:00
|
|
|
return nb;
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2017-04-20 00:24:20 -04:00
|
|
|
})));
|