diff --git a/buffalo/cmd/build/templates/main.go.tmpl b/buffalo/cmd/build/templates/main.go.tmpl index 24e6e3555..45e84f653 100644 --- a/buffalo/cmd/build/templates/main.go.tmpl +++ b/buffalo/cmd/build/templates/main.go.tmpl @@ -27,7 +27,7 @@ var BuildTime = "" func init() { BuildTime = strings.Trim(BuildTime, "\"") - t, err := time.Parse("2006-01-02T15:04:05-07:00", BuildTime) + t, err := time.Parse(time.RFC3339, BuildTime) if err != nil { fmt.Println(err) }