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

mongo shell ISODate return bug

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.2.6, 2.4.4, 2.5.0
    • 2.2.0
    • JavaScript
    • Ubuntu 10.04.3
    • Fully Compatible
    • ALL

    Description

      For some input strings, mongo shell ISODate() return value has 1 sec difference.
      There are examples.

      > ISODate("2012-10-02 19:28:16.926")
      ISODate("2012-10-02T19:28:15.926Z")
      > ISODate("2012-10-02 21:14:08.072")
      ISODate("2012-10-02T21:14:07.072Z")
      >

      Attachments

        Activity

          People

            tad Tad Marshall
            asm Samuel Ahn
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: