Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10738

Docs for SERVER-8164: ISODate doesn't handle years less than 100 properly

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.13
    • None
    • None
    • None

    Description

      Documentation Request Summary:

      The ISODate page never mentions the supported ranges and formats. Please have a look at the test cases as to what is supported: https://github.com/mongodb/mongo/blob/master/jstests/aggregation/bugs/server8164.js

      Engineering Ticket Description:

      ISODate is parsing dates where the year is less than 100 improperly. It's treating them as offsets from 1900.

      Attachments

        Activity

          People

            andrew.aldridge@mongodb.com Andrew Aldridge
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 18 weeks, 1 day ago