Add new date formats (#653)

This commit is contained in:
Mark Furneaux 2017-11-03 15:04:48 -04:00 committed by Owen Mehegan
parent b9efc8ac91
commit 63341d4bcb
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public final class JsonUtil {
private static class DateModule extends SimpleModule {
private static final String[] DATE_FORMATS = new String[] {
"yyyy-MM-dd HH:mm:ss Z", "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", "yyyy-MM-dd'T'HH:mm:ssX"
"yyyy-MM-dd HH:mm:ss Z", "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", "yyyy-MM-dd'T'HH:mm:ssX", "yyyy-MM-dd'T'HH:mm:ss.SSSX", "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
};
private DateModule() {