[COMPASS-5568] bson-transpilers tests attempt to pass arguments to shell's Date() function Created: 07/Mar/22 Updated: 12/Oct/22 |
|
| Status: | Ready for Work |
| Project: | Compass |
| Component/s: | Export to Language |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Patrick Freed | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Sprint: | Iteration Isopod, Iteration Jellyfish, Iteration Lobster |
| Description |
Problem Statement/RationaleThere are several tests in native.yaml which pass arguments to the shell's Date() function, but that function does not accept any arguments and will always return the current datetime as a string.
These tests need to be updated or removed. |
| Comments |
| Comment by Maurizio Casimirri [ 10/Jun/22 ] |
|
yep that only works with the constructor form `new Date(...)`, great catch. jessica.sigafoos@mongodb.com can you move this to the new iteration once it will exist? |