[CSHARP-262] JsonWriter must output "new" for Date values Created: 05/Jul/11  Updated: 02/Apr/15  Resolved: 08/Jul/11

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.1
Fix Version/s: 1.2

Type: Bug Priority: Major - P3
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

JavaScript requires the "new" keyword for Date values. So for example, instead of:

{ Created : Date(1309806008897) }

output:

{ Created : new Date(1309806008897) }
Generated at Wed Feb 07 21:36:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.