[COMPASS-6755] Compass interprets Date() incorrectly in queries Created: 20/Apr/23 Updated: 20/May/23 Resolved: 08/May/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Query Bar |
| Affects Version/s: | None |
| Fix Version/s: | 1.37.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Tom Hollander | Assignee: | Le Roux Bodenstein |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS: |
||
| Attachments: |
|
| Story Points: | 2 |
| Documentation Changes: | Not Needed |
| Description |
Problem Statement/RationaleCompass should behave consistently with other tools such as mongosh, Charts and Node with respect to date helpers. Inconsistency leads to customer confusion and bugs (see this Slack discussion for an example) Steps to Reproduce
Expected Results
Actual Results
Additional NotesAny additional information that may be useful to include. |
| Comments |
| Comment by Githook User [ 20/May/23 ] |
|
Author: {'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}Message: fix(ejson): Differentiate between new Date() and Date() bump ejson-shell-parser to 1.2.4 |
| Comment by Githook User [ 08/May/23 ] |
|
Author: {'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}Message: fix(ejson): Differentiate between new Date() and Date() bump ejson-shell-parser to 1.2.4 |
| Comment by Githook User [ 08/May/23 ] |
|
Author: {'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}Message: fix(ejson): Differentiate between new Date() and Date() bump ejson-shell-parser to 1.2.4 |