[COMPASS-4655] Compass should parse ISODate correctly Created: 19/Feb/21  Updated: 17/May/22

Status: Open
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Maurizio Casimirri Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 2

 Description   

Currently compass treats IsoDate as Date.

IsoDate should work like the shell and always construct dates disregarding the time zone.

Compass IsoDate parsing: https://github.com/mongodb-js/ejson-shell-parser/blob/master/src/scope.ts#L73

Shell IsoDate:

https://github.com/mongodb-js/mongosh/blob/59beaa84b21bd5fb04124f08fb270236c3ab22d7/packages/shell-api/src/shell-bson.ts#L118


Generated at Wed Feb 07 22:37:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.