mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-24 15:16:11 +00:00
#1686 - Change the default JSON format to ISO8601 for date and datetime types (from epoch millis)
This commit is contained in:
1 parent
c46ac04c0a
commit
ecec966a85
4 files changed
+11
-11
No files matched your search
@@ -169,12 +169,12 @@ public class ServerConfig {
|
||||
/**
|
||||
* The JSON format used for DateTime types. Default to millis.
|
||||
*/
|
||||
private JsonConfig.DateTime jsonDateTime = JsonConfig.DateTime.MILLIS;
|
||||
private JsonConfig.DateTime jsonDateTime = JsonConfig.DateTime.ISO8601;
|
||||
|
||||
/**
|
||||
* The JSON format used for Date types. Default to millis.
|
||||
*/
|
||||
private JsonConfig.Date jsonDate = JsonConfig.Date.MILLIS;
|
||||
private JsonConfig.Date jsonDate = JsonConfig.Date.ISO8601;
|
||||
|
||||
/**
|
||||
* For writing JSON specify if null values or empty collections should be exluded.
|
||||
|
||||
Reference in new issue
Block a user