diff options
Diffstat (limited to 'commands/convert.go')
-rw-r--r-- | commands/convert.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/convert.go b/commands/convert.go index 9d79a53ad..c9482bea4 100644 --- a/commands/convert.go +++ b/commands/convert.go @@ -117,7 +117,7 @@ func convertContents(mark rune) (err error) { } // better handling of dates in formats that don't have support for them - if mark == parser.FormatToLeadRune("json") || mark == parser.FormatToLeadRune("yaml") { + if mark == parser.FormatToLeadRune("json") || mark == parser.FormatToLeadRune("yaml") || mark == parser.FormatToLeadRune("toml") { newmetadata := cast.ToStringMap(metadata) for k, v := range newmetadata { switch vv := v.(type) { |