Make the invalid date/time format error message more helpful

This commit is contained in:
Ask Bjørn Hansen 2014-02-16 01:21:49 -08:00 committed by spf13
parent 1dbed5ee06
commit 0bfe9276c2

View file

@ -17,7 +17,7 @@ func interfaceToTime(i interface{}) time.Time {
if e == nil {
return d
}
errorf("Invalid Time/Date format")
errorf("Could not parse Date/Time format:", e)
default:
errorf("Only Time is supported for this key")
}