Short-date support (#298)

This commit is contained in:
Thomas Pelletier
2019-10-25 13:21:44 -04:00
committed by GitHub
parent 5edf9acd3e
commit 8a362ad712
11 changed files with 977 additions and 21 deletions
+2
View File
@@ -136,6 +136,8 @@ func tomlValueStringRepresentation(v interface{}, indent string, arraysOneElemen
return "false", nil
case time.Time:
return value.Format(time.RFC3339), nil
case LocalDate:
return value.String(), nil
case nil:
return "", nil
}