date-and-time
Version:
The simplest, most intuitive date and time library
2 lines (1 loc) • 747 B
JavaScript
const e={MMMM:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],MMM:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],dddd:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],ddd:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],dd:["So","Mo","Di","Mi","Do","Fr","Sa"],A:["AM","PM"],AA:["A.M.","P.M."],a:["am","pm"],aa:["a.m.","p.m."]};var a=new class{getLocale(){return"de"}getMonthList(a){return"long"===a.style?e.MMMM:e.MMM}getDayOfWeekList(a){return"long"===a.style?e.dddd:"short"===a.style?e.ddd:e.dd}getMeridiemList(a){return"long"===a.style?"lowercase"===a.case?e.aa:e.AA:"lowercase"===a.case?e.a:e.A}};export{a as default};