Sha256: 59c303aaa25ecba9a464e8c4d867f2591161640ed15a0a1f17f7445f897b17ff

Contents?: true

Size: 1.76 KB

Versions: 33

Compression:

Stored size: 1.76 KB

Contents

//! moment.js locale configuration
//! locale : Norwegian Bokmål [nb]
//! authors : Espen Hovlandsdal : https://github.com/rexxars
//!           Sigurd Gartmann : https://github.com/sigurdga

import moment from '../moment';

export default moment.defineLocale('nb', {
    months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
    monthsShort : 'jan._feb._mars_april_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'
    },
    calendar : {
        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',
        sameElse: 'L'
    },
    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',
        M : 'en måned',
        MM : '%d måneder',
        y : 'ett år',
        yy : '%d år'
    },
    dayOfMonthOrdinalParse: /\d{1,2}\./,
    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.
    }
});

Version data entries

33 entries across 33 versions & 4 rubygems

Version Path
card-1.100.0 mod/date/vendor/moment/src/locale/nb.js
card-1.99.6 mod/date/vendor/moment/src/locale/nb.js
card-1.99.5 mod/date/vendor/moment/src/locale/nb.js
card-1.99.4 mod/date/vendor/moment/src/locale/nb.js
card-1.99.3 mod/date/vendor/moment/src/locale/nb.js
card-1.99.2 mod/date/vendor/moment/src/locale/nb.js
ilog-0.4.1 node_modules/moment/src/locale/nb.js
ilog-0.4.0 node_modules/moment/src/locale/nb.js
ilog-0.3.3 node_modules/moment/src/locale/nb.js
card-1.99.1 mod/date/vendor/moment/src/locale/nb.js
card-1.99.0 mod/date/vendor/moment/src/locale/nb.js
jester-data-8.0.0 node_modules/moment/src/locale/nb.js
ezii-os-5.2.1 node_modules/moment/src/locale/nb.js
ezii-os-2.0.1 node_modules/moment/src/locale/nb.js
card-1.98.3 mod/date/vendor/moment/src/locale/nb.js
card-1.98.2 mod/date/vendor/moment/src/locale/nb.js
card-1.98.1 mod/date/vendor/moment/src/locale/nb.js
card-1.98.0 mod/date/vendor/moment/src/locale/nb.js
card-1.97.0.1 mod/date/vendor/moment/src/locale/nb.js
card-1.97.0 mod/date/vendor/moment/src/locale/nb.js