hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 3a8c12418a97230df714488e522f44ce8af685c5
parent be3d563a13eae2c4801fec5e9537b4f246ee48c7
Author: bep <bjorn.erik.pedersen@gmail.com>
Date:   Tue,  9 Dec 2014 11:42:07 +0100

Add timezone to buildDate

Diffstat:
Mcommands/version.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commands/version.go b/commands/version.go
@@ -74,6 +74,6 @@ func setBuildDate() {
 // formatBuildDate formats the buildDate according to the value in
 // .Params.DateFormat, if it's set.
 func formatBuildDate() {
-	t, _ := time.Parse("2006-01-02T15:04:05", buildDate)
+	t, _ := time.Parse("2006-01-02T15:04:05-0700", buildDate)
 	buildDate = t.Format(time.RFC3339)
 }