-
Notifications
You must be signed in to change notification settings - Fork 125
/
i18n.js
86 lines (85 loc) · 1.53 KB
/
i18n.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
import LocalTime from "../local_time"
LocalTime.config.i18n = {
en: {
date: {
dayNames: [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
abbrDayNames: [
"Sun",
"Mon",
"Tue",
"Wed",
"Thu",
"Fri",
"Sat"
],
monthNames: [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
],
abbrMonthNames: [
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec"
],
yesterday: "yesterday",
today: "today",
tomorrow: "tomorrow",
on: "on {date}",
formats: {
default: "%b %e, %Y",
thisYear: "%b %e"
}
},
time: {
am: "am",
pm: "pm",
singular: "a {time}",
singularAn: "an {time}",
elapsed: "{time} ago",
second: "second",
seconds: "seconds",
minute: "minute",
minutes: "minutes",
hour: "hour",
hours: "hours",
formats: {
default: "%l:%M%P",
default_24h: "%H:%M"
}
},
datetime: {
at: "{date} at {time}",
formats: {
default: "%B %e, %Y at %l:%M%P %Z",
default_24h: "%B %e, %Y at %H:%M %Z"
}
}
}
}