Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7371

Queries including a date that were working prior to 1.40.4 no longer work

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • 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")}
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            maurizio.casimirri@mongodb.com Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: