Documentation ¶
Index ¶
- Variables
- func Day[D time.Weekday | int | int64](dayno D, lang string, length int) string
- func Format(t *time.Time, format string, lang string) (datetime string, err error)
- func IndexMonth(start string, lang string) int
- func Month[M time.Month | int | int64](monthno M, lang string, length int) string
- func Parts(t *time.Time, lang string) (parts map[string]string)
Constants ¶
This section is empty.
Variables ¶
View Source
var DayNames = map[string][]string{
"fre": {"lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi", "dimanche"},
"eng": {"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"},
"dut": {"maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag", "zondag"},
}
View Source
var MonthNames = map[string][]string{
"fre": {"janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"},
"eng": {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"},
"dut": {"januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december"},
}
Functions ¶
func IndexMonth ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.