2016-02-05 15:42:48 -05:00
|
|
|
//! moment.js locale configuration
|
|
|
|
//! locale : danish (da)
|
|
|
|
//! author : Ulrik Nielsen : https://github.com/mrbase
|
2013-06-07 04:03:09 -04:00
|
|
|
|
2016-02-05 15:42:48 -05:00
|
|
|
;(function (global, factory) {
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
|
|
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
|
|
|
factory(global.moment)
|
|
|
|
}(this, function (moment) { 'use strict';
|
|
|
|
|
|
|
|
|
|
|
|
var da = 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('_'),
|
2014-08-20 14:41:50 -04:00
|
|
|
longDateFormat : {
|
2016-02-05 15:42:48 -05:00
|
|
|
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 HH:mm'
|
2014-08-20 14:41:50 -04:00
|
|
|
},
|
|
|
|
calendar : {
|
|
|
|
sameDay : '[I dag kl.] LT',
|
|
|
|
nextDay : '[I morgen kl.] LT',
|
|
|
|
nextWeek : 'dddd [kl.] LT',
|
|
|
|
lastDay : '[I går kl.] LT',
|
|
|
|
lastWeek : '[sidste] dddd [kl] LT',
|
|
|
|
sameElse : 'L'
|
|
|
|
},
|
|
|
|
relativeTime : {
|
2016-02-05 15:42:48 -05:00
|
|
|
future : 'om %s',
|
|
|
|
past : '%s siden',
|
|
|
|
s : 'få 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'
|
2014-08-20 14:41:50 -04:00
|
|
|
},
|
2016-02-05 15:42:48 -05:00
|
|
|
ordinalParse: /\d{1,2}\./,
|
2014-08-20 14:41:50 -04:00
|
|
|
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.
|
|
|
|
}
|
|
|
|
});
|
2016-02-05 15:42:48 -05:00
|
|
|
|
|
|
|
return da;
|
|
|
|
|
|
|
|
}));
|