Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-262

JsonWriter must output "new" for Date values

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2
    • Affects Version/s: 1.1
    • Component/s: None
    • None

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

      { Created : Date(1309806008897) }

      output:

      { Created : new Date(1309806008897) }

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: