JsonReader handles `Date()` incorrectly

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.2.0
    • Affects Version/s: 3.2.0
    • Component/s: BSON
    • None
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      JsonReader treats Date() and new Date() the same, but in the shell the return different things:

      Date() returns a string eg: "Thu Oct 29 2015 14:46:13 GMT+0000 (GMT)"
      new Date() returns a date object eg: ISODate("2015-10-29T14:47:08.857Z")

              Assignee:
              Ross Lawley
              Reporter:
              Ross Lawley
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: