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

Compass inappropriately manipulates data view

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

      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
            Reporter:
            neobyteUK Richard Henry [X]
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: