[COMPASS-7371] Queries including a date that were working prior to 1.40.4 no longer work Created: 23/Oct/23  Updated: 25/Oct/23

Status: Needs Triage
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
Environment:

OS:
node.js / npm versions:
Additional info:



 Description   

Originally reported as a comment on the 1.40 release: https://jira.mongodb.org/browse/COMPASS-7351?focusedCommentId=5796019&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-5796019

Queries including a date that were working prior to 1.40.4 no longer work
 
For example:
 
'who.creationDate':{"$gte":new ISODate("2023-10-18T00:00:00Z")}
 
 
 
I had to modify the query to the following for it to work:
 
"who.creationDate":{"$gte""2023-10-20")}



 Comments   
Comment by Barry Hammon [ 25/Oct/23 ]

Hello Maurizio,

I'm working with the team.  It appears that the way we store the date might have changed.

Thanks,

Barry

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