mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Make the invalid date/time format error message more helpful
This commit is contained in:
parent
1dbed5ee06
commit
0bfe9276c2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue