doc update

This commit is contained in:
Aaron Raddon
2017-07-17 15:08:31 -07:00
parent cab5e508ca
commit 3bd2566cb7
2 changed files with 10 additions and 12 deletions

View File

@@ -88,11 +88,7 @@ func main() {
table.AddHeaders("Input", "Parsed, and Output as %v")
for _, dateExample := range examples {
t, err := dateparse.ParseAny(dateExample)
if err != nil {
panic(err.Error())
}
table.AddRow(dateExample, fmt.Sprintf("%v", t))
table.AddRow(dateExample, fmt.Sprintf("%v", dateparse.MustParse(dateExample)))
}
fmt.Println(table.Render())
}