-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
To reproduce:
bson_t test = BSON_INITIALIZER; bson_append_date_time (&test, "a", -1, 1356351330001); printf("%s\n", bson_as_relaxed_extended_json (&test, NULL));
Prints:
{ "a" : { "$date" : "2012-12-24T12:15:30. 1Z" } }
Which uses spaces in the millisecond portion instead of zeroes.