mirror of
https://github.com/araddon/dateparse.git
synced 2025-10-18 13:17:56 +08:00
fixes main.go
This commit is contained in:
@@ -131,7 +131,7 @@ func main() {
|
||||
|
||||
table.AddHeaders("Input", "Parsed, and Output as %v")
|
||||
for _, dateExample := range examples {
|
||||
t, err := dateparse.ParseLocal(dateExample)
|
||||
t, err := dateparse.ParseLocal(dateExample, true)
|
||||
if err != nil {
|
||||
panic(err.Error())
|
||||
}
|
||||
|
Reference in New Issue
Block a user