PageRenderTime 13ms CodeModel.GetById 5ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/node_modules/moment/src/locale/nb.js

https://bitbucket.org/coleman333/smartsite
JavaScript | 55 lines | 48 code | 3 blank | 4 comment | 0 complexity | 903bbf28761f27169361bcdf2d879445 MD5 | raw file
 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
 6import moment from '../moment';
 7
 8export default moment.defineLocale('nb', {
 9    months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
10    monthsShort : 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
11    monthsParseExact : true,
12    weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
13    weekdaysShort : 'sø._ma._ti._on._to._fr._lø.'.split('_'),
14    weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
15    weekdaysParseExact : true,
16    longDateFormat : {
17        LT : 'HH:mm',
18        LTS : 'HH:mm:ss',
19        L : 'DD.MM.YYYY',
20        LL : 'D. MMMM YYYY',
21        LLL : 'D. MMMM YYYY [kl.] HH:mm',
22        LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
23    },
24    calendar : {
25        sameDay: '[i dag kl.] LT',
26        nextDay: '[i morgen kl.] LT',
27        nextWeek: 'dddd [kl.] LT',
28        lastDay: '[i går kl.] LT',
29        lastWeek: '[forrige] dddd [kl.] LT',
30        sameElse: 'L'
31    },
32    relativeTime : {
33        future : 'om %s',
34        past : '%s siden',
35        s : 'noen sekunder',
36        ss : '%d sekunder',
37        m : 'ett minutt',
38        mm : '%d minutter',
39        h : 'en time',
40        hh : '%d timer',
41        d : 'en dag',
42        dd : '%d dager',
43        M : 'en måned',
44        MM : '%d måneder',
45        y : 'ett år',
46        yy : '%d år'
47    },
48    dayOfMonthOrdinalParse: /\d{1,2}\./,
49    ordinal : '%d.',
50    week : {
51        dow : 1, // Monday is the first day of the week.
52        doy : 4  // The week that contains Jan 4th is the first week of the year.
53    }
54});
55