2016-02-06 04:42:48 +08:00
|
|
|
//! moment.js locale configuration
|
2020-11-11 09:34:26 +08: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-21 02:41:50 +08:00
|
|
|
|
2016-02-06 04:42:48 +08:00
|
|
|
;(function (global, factory) {
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
2017-04-20 12:24:20 +08:00
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
2016-02-06 04:42:48 +08:00
|
|
|
factory(global.moment)
|
2017-04-20 12:24:20 +08:00
|
|
|
}(this, (function (moment) { 'use strict';
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2020-11-11 09:34:26 +08:00
|
|
|
//! moment.js locale configuration
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
var nb = moment.defineLocale('nb', {
|
2020-11-11 09:34:26 +08:00
|
|
|
months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
|
|
|
|
'_'
|
|
|
|
),
|
2022-04-12 01:27:24 +08:00
|
|
|
monthsShort:
|
|
|
|
'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
|
2020-11-11 09:34:26 +08:00
|
|
|
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 15:15:53 +08:00
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
calendar: {
|
2018-04-26 15:15:53 +08: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-11 09:34:26 +08:00
|
|
|
sameElse: 'L',
|
2018-04-26 15:15:53 +08:00
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
relativeTime: {
|
|
|
|
future: 'om %s',
|
|
|
|
past: '%s siden',
|
|
|
|
s: 'noen sekunder',
|
|
|
|
ss: '%d sekunder',
|
|
|
|
m: 'ett minutt',
|
|
|
|
mm: '%d minutter',
|
2024-03-11 10:04:51 +08:00
|
|
|
h: 'én time',
|
2020-11-11 09:34:26 +08:00
|
|
|
hh: '%d timer',
|
2024-03-11 10:04:51 +08:00
|
|
|
d: 'én dag',
|
2020-11-11 09:34:26 +08:00
|
|
|
dd: '%d dager',
|
2024-03-11 10:04:51 +08:00
|
|
|
w: 'én uke',
|
2020-11-11 09:34:26 +08:00
|
|
|
ww: '%d uker',
|
2024-03-11 10:04:51 +08:00
|
|
|
M: 'én måned',
|
2020-11-11 09:34:26 +08:00
|
|
|
MM: '%d måneder',
|
|
|
|
y: 'ett år',
|
|
|
|
yy: '%d år',
|
2018-04-26 15:15:53 +08:00
|
|
|
},
|
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
2020-11-11 09:34:26 +08: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 15:15:53 +08:00
|
|
|
});
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
return nb;
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2017-04-20 12:24:20 +08:00
|
|
|
})));
|