mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-06 02:36:49 +00:00
fix date format
This commit is contained in:
parent
82773aab3b
commit
69fdfa66af
1 changed files with 1 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ func extractString(pattern, content string) string {
|
|||
func formatDate(date string) *time.Time {
|
||||
months := map[string]string{
|
||||
"janv.": "01", "fév": "02", "mar": "03", "avr": "04",
|
||||
"mai": "05", "jun": "06", "juil.": "07", "aoû": "08",
|
||||
"mai": "05", "juin": "06", "juil.": "07", "aoû": "08",
|
||||
"sep": "09", "oct": "10", "nov": "11", "déc": "12",
|
||||
}
|
||||
parts := strings.Split(date, " ")
|
||||
|
|
|
|||
Loading…
Reference in a new issue