Details
-
Bug
-
Resolution: Won't Fix
-
Minor - P4
-
None
-
2.12.3
-
None
-
Windows
-
Fully Compatible
Description
When the parser encounters a field with e.g.
{ "$date" : "2013-12-03T10:41:22.393+0200" }the resulting value is null.
The reason is that the format string given to SimpleDateFormat is "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'" which requires a literal 'Z' rather than actually parsing the timezone.
Changing the string to "yyyy-MM-dd'T'HH:mm:ss.SSSX" should work better.