From 0bfe9276c2d6041e2835d5c20320b8acb36ef692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Sun, 16 Feb 2014 01:21:49 -0800 Subject: [PATCH] Make the invalid date/time format error message more helpful --- hugolib/metadata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugolib/metadata.go b/hugolib/metadata.go index a398fffe8..323acdbc5 100644 --- a/hugolib/metadata.go +++ b/hugolib/metadata.go @@ -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") }