Local DateTime support (#317)

This commit is contained in:
Thomas Pelletier
2019-10-25 14:07:46 -04:00
committed by GitHub
parent 8a362ad712
commit 3a4d7af89e
3 changed files with 185 additions and 2 deletions
+2
View File
@@ -138,6 +138,8 @@ func tomlValueStringRepresentation(v interface{}, indent string, arraysOneElemen
return value.Format(time.RFC3339), nil
case LocalDate:
return value.String(), nil
case LocalDateTime:
return value.String(), nil
case nil:
return "", nil
}