Uploaded image for project: 'MongoDB CLI Tools'
  1. MongoDB CLI Tools
  2. TOOLS-1922

Compass inappropriately manipulates data view



    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:


      First off, my apologies as this is certainly the wrong place to report this. I'm trying to report a bug with Compass Community edition, although I expect it affects your commercial edition too. Feel free to close and/or move this to the appropriate place.

      Your main page says "submit bugs to Jira": https://docs.mongodb.com/compass/master/.
      Jira, once registered and logged in, has no project option for Compass. This project is the only one that appears to have some Compass-related bugs, so you guys get it instead! I don't have commercial support and don't need this fixed, I'm just trying to be a good netizen and report a noticed bug.

      When viewing a "Date" field in Compass, the UI shifts the displayed value by the users environment timezone, so you see inconsistent data. If I run Compass under different timezones:

      => mongodb-compass-community // runs under my default Europe/London timezone
      => TZ=UTC mongodb-compass-community // force runs under UTC

      I will see different Date data in my mongo databases (for 6 months of the year, the hour is shifted by 1). I assume this is not wanted behaviour. Connecting directly to the mongoDB from the command line and querying directly avoids the issue.

      Explicitly setting the Compass timezone to UTC with an env variable as above is a workaround for the issue.




            • Assignee:
              sam.weaver Sam Weaver
              neobyteUK Richard Henry
            • Votes:
              1 Vote for this issue
              5 Start watching this issue


              • Created: