mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-24 21:56:05 +02:00
Make the invalid date/time format error message more helpful
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user