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

Make Date constructor notation in JsonReader accept the same string representations for a Date as JavaScript does

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.3
    • Affects Version/s: 1.1
    • Component/s: None
    • Labels:
      None

      Right now when parsing "new Date(stringValue)" JsonReader assumes that stringValue can be parsed by .NET's DateTime.Parse method. But JavaScript supports some string representations that .NET does not. Research exactly what JavaScript supports and make JsonReader support all the valid forms.

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

              Created:
              Updated:
              Resolved: