support YYYY/MM/DD format for imports

This commit is contained in:
Hayden 2023-04-01 12:09:20 -08:00
parent 564b8a2725
commit 3ed72daa64
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -41,6 +41,7 @@ func DateFromString(s string) Date {
try := [...]string{
"2006-01-02",
"01/02/2006",
"2006/01/02",
time.RFC3339,
}