mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00:00
Make the invalid date/time format error message more helpful
This commit is contained in:
1 parent
1dbed5ee06
commit
0bfe9276c2
1 file changed
+1
-1
+1
-1
@@ -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