mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-22 08:35:43 +00:00
support YYYY/MM/DD format for imports
This commit is contained in:
parent
564b8a2725
commit
3ed72daa64
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ func DateFromString(s string) Date {
|
||||||
try := [...]string{
|
try := [...]string{
|
||||||
"2006-01-02",
|
"2006-01-02",
|
||||||
"01/02/2006",
|
"01/02/2006",
|
||||||
|
"2006/01/02",
|
||||||
time.RFC3339,
|
time.RFC3339,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue