[DOCS-10738] Docs for SERVER-8164: ISODate doesn't handle years less than 100 properly Created: 30/Aug/17  Updated: 29/Oct/23  Resolved: 10/Oct/17

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 3.5.13

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Andrew Aldridge
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-8164 ISODate doesn't handle years less tha... Closed
Participants:
Days since reply: 6 years, 18 weeks, 1 day ago
Epic Link: DOCS: 3.6 Server
Story Points: 0.5

 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.



 Comments   
Comment by Githook User [ 10/Oct/17 ]

Author:

{'email': 'i80and@foxquill.com', 'name': 'Andrew Aldridge', 'username': 'i80and'}

Message: DOCS-10738: Specify safe date range
Branch: master
https://github.com/mongodb/docs/commit/39f84e8b6a8a29a36ad6eb10471dc34c8f590751

Generated at Thu Feb 08 08:01:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.