-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
C Drivers
-
Not Needed
When encoding the date from Unix timestamp 253402300800000 (in milliseconds) the C driver produces:
{"$date":"10000-01-01T00:00:00Z"}
The extended JSON spec describes "Datetime [year before 1970 or after 9999]" to have the same encoding for Canonical Extended JSON and Relaxed Extended JSON.
The expected encoding is:
{"$date":{"$numberLong":"253402300800000"}
- is depended on by
-
PHPC-2471 Test encoding dates after year 9999 with Relaxed Extended JSON
- Closed
- is duplicated by
-
CDRIVER-5760 Test encoding dates after year 9999 with Relaxed Extended JSON
- Closed
- tested by
-
DRIVERS-3011 Test encoding dates after year 9999 with Relaxed Extended JSON
- Implementing