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 : 'sw' ,
5
+ weekdays : 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijuma_Jumamosi' . split ( '_' ) ,
6
+ months : 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Octoba_Novemba_Disemba' . split ( '_' ) ,
7
+ weekStart : 1 ,
8
+ ordinal : n => `${ n } .` ,
9
+ formats : {
10
+ LT : 'H:mm' ,
11
+ LTS : 'H:mm:ss' ,
12
+ L : 'DD.MM.YYYY' ,
13
+ LL : 'D. MMMM YYYY' ,
14
+ LLL : 'D. MMMM YYYY H:mm' ,
15
+ LLLL : 'dddd D. MMMM YYYY H:mm'
16
+ } ,
17
+ relativeTime : {
18
+ future : 'Ujao %s' ,
19
+ past : 'Uliopita %s' ,
20
+ s : 'sekunde' ,
21
+ m : 'dakika' ,
22
+ mm : '%d madakika' ,
23
+ h : 'saa' ,
24
+ hh : '%d masaa' ,
25
+ d : 'siku' ,
26
+ dd : '%d masiku' ,
27
+ M : 'mwezi' ,
28
+ MM : '%d miezi' ,
29
+ y : 'mwaka' ,
30
+ yy : '%d miaka'
31
+ }
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