You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.0 KiB
39 lines
1.0 KiB
// Danish [da] |
|
import dayjs from '../index'; |
|
var locale = { |
|
name: 'da', |
|
weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), |
|
weekdaysShort: 'søn._man._tirs._ons._tors._fre._lør.'.split('_'), |
|
weekdaysMin: 'sø._ma._ti._on._to._fr._lø.'.split('_'), |
|
months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'), |
|
monthsShort: 'jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.'.split('_'), |
|
weekStart: 1, |
|
ordinal: function ordinal(n) { |
|
return n + "."; |
|
}, |
|
formats: { |
|
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' |
|
}, |
|
relativeTime: { |
|
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' |
|
} |
|
}; |
|
dayjs.locale(locale, null, true); |
|
export default locale; |