Commit cb208b0 1 parent f251493 commit cb208b0 Copy full SHA for cb208b0
File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ import dayjs from 'dayjs'
2
+
3
+ const locale = {
4
+ name : 'ms' ,
5
+ weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu' . split ( '_' ) ,
6
+ months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember' . split ( '_' ) ,
7
+ weekStart : 1 ,
8
+ formats : {
9
+ LT : 'HH.mm' ,
10
+ LTS : 'HH.mm.ss' ,
11
+ L : 'DD/MM/YYYY' ,
12
+ LL : 'D MMMM YYYY' ,
13
+ LLL : 'D MMMM YYYY HH.mm' ,
14
+ LLLL : 'dddd, D MMMM YYYY HH.mm'
15
+ } ,
16
+ relativeTime : {
17
+ future : 'dalam %s' ,
18
+ past : '%s yang lepas' ,
19
+ s : 'beberapa saat' ,
20
+ m : 'seminit' ,
21
+ mm : '%d minit' ,
22
+ h : 'sejam' ,
23
+ hh : '%d jam' ,
24
+ d : 'sehari' ,
25
+ dd : '%d hari' ,
26
+ M : 'sebulan' ,
27
+ MM : '%d bulan' ,
28
+ y : 'setahun' ,
29
+ yy : '%d tahun'
30
+ } ,
31
+ ordinal : n => `${ n } .`
32
+ }
33
+
34
+ dayjs . locale ( locale , null , true )
35
+
36
+ export default locale
You can’t perform that action at this time.
0 commit comments