Debian Codegraph @

resources/lib/moment/locale/nb.js

raw symbols SCIP
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
5 //! Stephen Ramthun : https://github.com/stephenramthun
6
7 ;(function (global, factory) {
8 typeof exports === 'object' && typeof module !== 'undefined'
9 && typeof require === 'function' ? factory(require('../moment')) :
10 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
11 factory(global.moment)
12 }(this, (function (moment) { 'use strict';
13
14 //! moment.js locale configuration
15
16 var nb = moment.defineLocale('nb', {
17 months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
18 '_'
19 ),
20 monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split(
21 '_'
22 ),
23 monthsParseExact: true,
24 weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
25 weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),
26 weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
27 weekdaysParseExact: true,
28 longDateFormat: {
29 LT: 'HH:mm',
30 LTS: 'HH:mm:ss',
31 L: 'DD.MM.YYYY',
32 LL: 'D. MMMM YYYY',
33 LLL: 'D. MMMM YYYY [kl.] HH:mm',
34 LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
35 },
36 calendar: {
37 sameDay: '[i dag kl.] LT',
38 nextDay: '[i morgen kl.] LT',
39 nextWeek: 'dddd [kl.] LT',
40 lastDay: '[i går kl.] LT',
41 lastWeek: '[forrige] dddd [kl.] LT',
42 sameElse: 'L',
43 },
44 relativeTime: {
45 future: 'om %s',
46 past: '%s siden',
47 s: 'noen sekunder',
48 ss: '%d sekunder',
49 m: 'ett minutt',
50 mm: '%d minutter',
51 h: 'en time',
52 hh: '%d timer',
53 d: 'en dag',
54 dd: '%d dager',
55 M: 'en måned',
56 MM: '%d måneder',
57 y: 'ett år',
58 yy: '%d år',
59 },
60 dayOfMonthOrdinalParse: /\d{1,2}\./,
61 ordinal: '%d.',
62 week: {
63 dow: 1, // Monday is the first day of the week.
64 doy: 4, // The week that contains Jan 4th is the first week of the year.
65 },
66 });
67
68 return nb;
69
70 })));