-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocale_en.go
47 lines (40 loc) · 1.93 KB
/
locale_en.go
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
package strftime
import "golang.org/x/text/language"
var (
englishLocale = &strftimeLocaleInfo{
tag: language.English,
DTfmt: "%a %b %e %H:%M:%S %Y",
Dfmt: "%m/%d/%y",
Tfmt: "%H:%M:%S",
Tfmt12: "%I:%M:%S %p",
AmPm: [2]string{"AM", "PM"},
AbDay: [7]string{"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"},
Day: [7]string{"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"},
AbMonth: [12]string{"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"},
Month: [12]string{"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"},
}
americanEnglishLocale = &strftimeLocaleInfo{
tag: language.AmericanEnglish,
DTfmt: "%a %b %e %H:%M:%S %Y",
Dfmt: "%m/%d/%Y",
Tfmt: "%H:%M:%S",
Tfmt12: "%I:%M:%S %p",
AmPm: [2]string{"AM", "PM"},
AbDay: [7]string{"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"},
Day: [7]string{"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"},
AbMonth: [12]string{"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"},
Month: [12]string{"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"},
}
britishEnglishLocale = &strftimeLocaleInfo{
tag: language.BritishEnglish,
DTfmt: "%a %d %b %Y %T %Z",
Dfmt: "%m/%d/%y",
Tfmt: "%T",
Tfmt12: "%l:%M:%S %P %Z",
AmPm: [2]string{"am", "pm"},
AbDay: [7]string{"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"},
Day: [7]string{"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"},
AbMonth: [12]string{"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"},
Month: [12]string{"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"},
}
)