Creating dates with date strings in mongo shell no longer works

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.0.0-rc0
    • Component/s: Shell
    • None
    • Minor Change
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In 2.0:
      > new Date("2011-08-23")
      ISODate("0NaN-NaN-NaNTNaN:NaN:NaNZ")

      In 1.8.2:
      > new Date("2011-08-23")
      ISODate("2011-08-23T00:00:00Z")

            Assignee:
            Unassigned
            Reporter:
            Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: