mirror of
https://github.com/gohugoio/hugo.git
synced 2025-03-03 18:20:59 +00: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 {
|
if e == nil {
|
||||||
return d
|
return d
|
||||||
}
|
}
|
||||||
errorf("Invalid Time/Date format")
|
errorf("Could not parse Date/Time format:", e)
|
||||||
default:
|
default:
|
||||||
errorf("Only Time is supported for this key")
|
errorf("Only Time is supported for this key")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue