mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-12 06:03:45 -04:00
Make the invalid date/time format error message more helpful
This commit is contained in:
parent
1dbed5ee06
commit
0bfe9276c2
@ -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")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user