UNPKG

date-and-time

Version:

The simplest, most intuitive date and time library

2 lines (1 loc) 718 B
const e={MMMM:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],MMM:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],dddd:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],ddd:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],dd:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],A:["PG","PTG"],AA:["PG","PTG"],a:["PG","PTG"],aa:["PG","PTG"]};var a=new class{getLocale(){return"ms"}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};