[COMPASS-4440] Date objects should stringify to an ISO date value consistent with mongosh Created: 07/Oct/20 Updated: 29/Oct/23 Resolved: 09/Nov/20 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Embedded Shell |
| Affects Version/s: | None |
| Fix Version/s: | 1.24.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Stennie Steneker (Inactive) | Assignee: | Anna Henningsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Story Points: | 3 |
| Documentation Changes: | Not Needed |
| Sprint: | Iteration Papaya |
| Description |
|
In Compass 1.22.1, Date and ISODate objects evaluate to {} in the embedded shell:
The expected result would be an ISO date similar to the toJSON() output. Example from standalone mongosh:
|
| Comments |
| Comment by Githook User [ 19/Nov/20 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fix(deps): update compass-shell to 0.5.2 Fixes several formatting issues through
|
| Comment by Githook User [ 16/Nov/20 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fix(deps): update compass-shell to 0.5.2 Fixes several formatting issues through
|
| Comment by Githook User [ 12/Nov/20 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fix(deps): update compass-shell to 0.5.2 Fixes several formatting issues through
|
| Comment by Githook User [ 12/Nov/20 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fix(deps): update compass-shell to 0.5.2 Fixes several formatting issues through
|
| Comment by Githook User [ 12/Nov/20 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fix(deps): update compass-shell to 0.5.2 Fixes several formatting issues through
|
| Comment by Githook User [ 11/Nov/20 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fix(deps): update compass-shell to 0.5.2 Fixes several formatting issues through
|