mirror of
https://github.com/araddon/dateparse.git
synced 2025-07-04 20:33:41 +08:00
fixes main.go
This commit is contained in:
parent
3955ef4ad2
commit
9fa48d1ba7
@ -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())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user