1 // moment.js locale configuration
2 // locale : danish (da)
3 // author : Ulrik Nielsen : https://github.com/mrbase
6 if (typeof define
=== 'function' && define
.amd
) {
7 define(['moment'], factory
); // AMD
8 } else if (typeof exports
=== 'object') {
9 module
.exports
= factory(require('../moment')); // Node
11 factory((typeof global
!== 'undefined' ? global
: this).moment
); // node or other global
14 return moment
.defineLocale('da', {
15 months
: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'),
16 monthsShort
: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
17 weekdays
: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
18 weekdaysShort
: 'søn_man_tir_ons_tor_fre_lør'.split('_'),
19 weekdaysMin
: 'sø_ma_ti_on_to_fr_lø'.split('_'),
25 LLL
: 'D. MMMM YYYY LT',
26 LLLL
: 'dddd [d.] D. MMMM YYYY LT'
29 sameDay
: '[I dag kl.] LT',
30 nextDay
: '[I morgen kl.] LT',
31 nextWeek
: 'dddd [kl.] LT',
32 lastDay
: '[I går kl.] LT',
33 lastWeek
: '[sidste] dddd [kl] LT',
51 ordinalParse
: /\d{1,2}\./,
54 dow
: 1, // Monday is the first day of the week.
55 doy
: 4 // The week that contains Jan 4th is the first week of the year.