[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: |