Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3680

Creating dates with date strings in mongo shell no longer works

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 2.0.0-rc0
    • Shell
    • None
    • Minor Change
    • ALL

    Description

      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")

      Attachments

        Activity

          People

            Unassigned Unassigned
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: