From b10dea2955093ef82ff8707c4bdbc442d3ae1edb Mon Sep 17 00:00:00 2001 From: Joel Scoble Date: Sun, 17 Aug 2014 22:02:52 -0500 Subject: added evaluation for toml for metadataformat date handling --- create/content.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'create') diff --git a/create/content.go b/create/content.go index 01a1c9aac..aea84c517 100644 --- a/create/content.go +++ b/create/content.go @@ -90,7 +90,7 @@ func NewContent(kind, name string) (err error) { return err } - if x := viper.GetString("MetaDataFormat"); x == "json" || x == "yaml" { + if x := viper.GetString("MetaDataFormat"); x == "json" || x == "yaml" || x == "toml" { newmetadata["date"] = time.Now().Format(time.RFC3339) } -- cgit v1.2.3