shithub: hugo

Download patch

ref: 0bfe9276c2d6041e2835d5c20320b8acb36ef692
parent: 1dbed5ee06a6a0ce4111e057282994aac3dc5123
author: Ask Bjørn Hansen <[email protected]>
date: Sat Feb 15 20:21:49 EST 2014

Make the invalid date/time format error message more helpful

--- a/hugolib/metadata.go
+++ b/hugolib/metadata.go
@@ -17,7 +17,7 @@
 		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")
 	}