Sha256: e93cbb4f32c15585ade43825f4bafb4eb97567a510756c5b54f2d976d46b40c9

Contents?: true

Size: 1.59 KB

Versions: 40

Compression:

Stored size: 1.59 KB

Contents

//! moment.js locale configuration
//! locale : Danish [da]
//! author : Ulrik Nielsen : https://github.com/mrbase

import moment from '../moment';

export default moment.defineLocale('da', {
    months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split(
        '_'
    ),
    monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
    weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
    weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),
    weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
    longDateFormat: {
        LT: 'HH:mm',
        LTS: 'HH:mm:ss',
        L: 'DD.MM.YYYY',
        LL: 'D. MMMM YYYY',
        LLL: 'D. MMMM YYYY HH:mm',
        LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',
    },
    calendar: {
        sameDay: '[i dag kl.] LT',
        nextDay: '[i morgen kl.] LT',
        nextWeek: 'på dddd [kl.] LT',
        lastDay: '[i går kl.] LT',
        lastWeek: '[i] dddd[s kl.] LT',
        sameElse: 'L',
    },
    relativeTime: {
        future: 'om %s',
        past: '%s siden',
        s: 'få sekunder',
        ss: '%d sekunder',
        m: 'et minut',
        mm: '%d minutter',
        h: 'en time',
        hh: '%d timer',
        d: 'en dag',
        dd: '%d dage',
        M: 'en måned',
        MM: '%d måneder',
        y: 'et å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

40 entries across 21 versions & 2 rubygems

Version Path
card-mod-date-0.15.6 vendor/moment/dist/locale/da.js
card-mod-date-0.15.6 vendor/moment/src/locale/da.js
card-mod-date-0.15.0 vendor/moment/src/locale/da.js
card-mod-date-0.15.0 vendor/moment/dist/locale/da.js
momentjs-rails-2.29.4 vendor/assets/javascripts/moment/da.js
card-mod-date-0.14.2 vendor/moment/src/locale/da.js
card-mod-date-0.14.2 vendor/moment/dist/locale/da.js
card-mod-date-0.14.1 vendor/moment/src/locale/da.js
card-mod-date-0.14.1 vendor/moment/dist/locale/da.js
card-mod-date-0.14.0 vendor/moment/src/locale/da.js
card-mod-date-0.14.0 vendor/moment/dist/locale/da.js
momentjs-rails-2.29.1 vendor/assets/javascripts/moment/da.js
card-mod-date-0.13.4 vendor/moment/dist/locale/da.js
card-mod-date-0.13.4 vendor/moment/src/locale/da.js
card-mod-date-0.13.3 vendor/moment/src/locale/da.js
card-mod-date-0.13.3 vendor/moment/dist/locale/da.js
card-mod-date-0.13.2 vendor/moment/src/locale/da.js
card-mod-date-0.13.2 vendor/moment/dist/locale/da.js
card-mod-date-0.13.1 vendor/moment/dist/locale/da.js
card-mod-date-0.13.1 vendor/moment/src/locale/da.js