<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:24:25 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[COMPASS-115] As a developer I want to show dates in server time and not local (laptop) time</title>
                <link>https://jira.mongodb.org/browse/COMPASS-115</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;h5&gt;&lt;a name=&quot;Story&quot;&gt;&lt;/a&gt;Story&lt;/h5&gt;
&lt;p&gt;As a developer, I want Compass to show date values in server time and not converted to the local (laptop) time so that I confirm that my application is saving dates correctly.&lt;/p&gt;

&lt;h5&gt;&lt;a name=&quot;Useranecdote&quot;&gt;&lt;/a&gt;User anecdote&lt;/h5&gt;
&lt;p&gt;More details:&lt;br/&gt;
With the current Compass implementation, I thought my App inserts dates with an offset of +1 day and I spent a lot of time trouble-shooting until I used the mongo shell and realized the dates are correct but Compass shows it converted to local time.&lt;/p&gt;

&lt;h5&gt;&lt;a name=&quot;ProductAcceptanceCriteria&quot;&gt;&lt;/a&gt;Product Acceptance Criteria&lt;/h5&gt;
&lt;ul&gt;
	&lt;li&gt;Have a menu option(s) to Show Dates as server time or local time&lt;/li&gt;
	&lt;li&gt;Default to server time&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="322241">COMPASS-115</key>
            <summary>As a developer I want to show dates in server time and not local (laptop) time</summary>
                <type id="12" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14715&amp;avatarType=issuetype">Story</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="durran.jordan@mongodb.com">Durran Jordan</assignee>
                                    <reporter username="thomas.rueckstiess@mongodb.com">Thomas Rueckstiess</reporter>
                        <labels>
                    </labels>
                <created>Sat, 8 Oct 2016 19:15:19 +0000</created>
                <updated>Wed, 10 Jan 2024 22:47:04 +0000</updated>
                            <resolved>Wed, 22 Aug 2018 13:14:53 +0000</resolved>
                                                    <fixVersion>1.16.0</fixVersion>
                                    <component>Real Time Server Stats</component>
                        <due></due>
                            <votes>6</votes>
                                    <watches>14</watches>
                                                                                                                <comments>
                            <comment id="2159450" author="massimiliano.marcon" created="Fri, 22 Feb 2019 08:50:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=doug%40not2scale.com&quot; class=&quot;user-hover&quot; rel=&quot;doug@not2scale.com&quot;&gt;doug@not2scale.com&lt;/a&gt; can you post an example document and a screenshot of how they are shown in Compass? Are your fields containing dates nested fields? We have an open bug related to that: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-3372&quot; title=&quot;Embedded dates are displayed using desktop timezone rather than UTC&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-3372&quot;&gt;&lt;del&gt;COMPASS-3372&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="2157654" author="doug@not2scale.com" created="Wed, 20 Feb 2019 21:20:25 +0000"  >&lt;p&gt;I just downloaded 1.16.4 and the issue is not resolved.&#160; When I change my system timezone, the dates within Mongo Compass change to the system selected Timezone.&#160; I store all dates in Mongo as UTC, and incorrectly expected Compass was showing UTC.&lt;/p&gt;</comment>
                            <comment id="2060376" author="wesley.griffing" created="Tue, 13 Nov 2018 17:34:40 +0000"  >&lt;p&gt;I just updated to Compass Community v1.16.0, but I do not believe this issue is resolved.&lt;/p&gt;

&lt;p&gt;I have attached 2 screenshots. In one screenshot, the timezone on my PC is set to UTC+0. In the other screenshot, the timezone on my PC is set to UTC-5 (EST), which actually is UTC-4 at the moment due to daylight savings.&lt;/p&gt;

&lt;p&gt;In the database records on the left of both screenshots, the &quot;start&quot; and &quot;stop&quot; fields are both of type Date. You can see the value reported by MongoDB Compass changes with the timezone. I believe this is unexpected. Is there some config or other changes necessary in order to have the dates display as UTC?&lt;/p&gt;

&lt;p&gt;I&apos;m happy to see this being worked on as I spent several hours trying to debug my application yesterday. I assumed I had some error, but eventually realized my assumption that Compass would show me UTC values was a bad assumption.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/200857/200857_Screenshot_UTC.PNG&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/200856/200856_Screenshot_EST.PNG&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="1983850" author="irina.shestak" created="Thu, 23 Aug 2018 15:06:52 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dejesusa%40aimspecialtyhealth.com&quot; class=&quot;user-hover&quot; rel=&quot;dejesusa@aimspecialtyhealth.com&quot;&gt;dejesusa@aimspecialtyhealth.com&lt;/a&gt;: we released 1.16.0-beta yesterday. If you like, you should be able to get it from our &lt;a href=&quot;https://www.mongodb.com/download-center#compass&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;downloads centre&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1981111" author="dejesusa@aimspecialtyhealth.com" created="Tue, 21 Aug 2018 13:54:09 +0000"  >&lt;p&gt;Excellent! Thanks Irina, when is 1.16.0 scheduled for release?&lt;/p&gt;</comment>
                            <comment id="1980939" author="irina.shestak" created="Tue, 21 Aug 2018 09:25:31 +0000"  >&lt;p&gt;We landed a fix for this in compass master, and it will be released as part of our `1.16.0` version.&lt;/p&gt;</comment>
                            <comment id="1980343" author="xgen-internal-githook" created="Mon, 20 Aug 2018 16:45:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Irina Shestak&apos;, &apos;email&apos;: &apos;lrlna@users.noreply.github.com&apos;, &apos;username&apos;: &apos;lrlna&apos;}
&lt;p&gt;Message: update compass-crud and -aggregations to show dates in utc&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-115&quot; title=&quot;As a developer I want to show dates in server time and not local (laptop) time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-115&quot;&gt;&lt;del&gt;COMPASS-115&lt;/del&gt;&lt;/a&gt;: update compass-crud and -aggregations to show dates in utc&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/compass/commit/868e5d19bb00c07bb070c498738accd0b7ea0fb0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/compass/commit/868e5d19bb00c07bb070c498738accd0b7ea0fb0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1974446" author="dejesusa@aimspecialtyhealth.com" created="Mon, 13 Aug 2018 18:33:58 +0000"  >&lt;p&gt;I am having the same issue with Compass, and the only work-around have is to use Robo3T or NoSQL Booster.&lt;/p&gt;</comment>
                            <comment id="1939949" author="peter.chang" created="Thu, 5 Jul 2018 20:18:58 +0000"  >&lt;p&gt;Spent around 8 hrs in the past week debugging the java drivers because I thought they were performing datetime transforms on my traffic.&lt;/p&gt;

&lt;p&gt;Turns out my issue was using Compass to verify that the datetime saved.&lt;/p&gt;

&lt;p&gt;To paraphrase, I was saving a timestamp into mongo, and verifying the data using Compass. Saving 07-01-2018T00:00:00Z to mongo and viewing the record through Compass as 06-30-2018 17:00:00.000, which left me wondering what was manipulating the data as it entered the database.&lt;/p&gt;

&lt;p&gt;You would think the visualization tool for a database built to store UTC would display using UTC. At the very least, make the timezone applied to timestamps visible somewhere in the interface.&lt;/p&gt;</comment>
                            <comment id="1735367" author="asya" created="Mon, 27 Nov 2017 19:44:06 +0000"  >&lt;p&gt;it&apos;s going to be particularly annoying now that aggregation supports adding timezone to various agg date expressions...&lt;/p&gt;</comment>
                            <comment id="1660862" author="lucas.hrabovsky" created="Wed, 30 Aug 2017 17:43:58 +0000"  >&lt;p&gt;Another case of user confusion via &lt;a href=&quot;https://twitter.com/papascott/status/898861161679998976&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Twitter&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Scott Hanson&#8207; @papascott  Aug 19&lt;br/&gt;
Same app, same data shows different dates on different systems! #node #mongodb #timezones&lt;/p&gt;

&lt;p&gt;Set TZ=Europe/Berlin on production server, and note MongoDB Compass displays timestamps using client machine TZ, not UTC.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="539614">COMPASS-2831</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="512155">COMPASS-2647</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="200856" name="Screenshot_EST.PNG" size="97428" author="wesley.griffing" created="Tue, 13 Nov 2018 17:28:38 +0000"/>
                            <attachment id="200857" name="Screenshot_UTC.PNG" size="91163" author="wesley.griffing" created="Tue, 13 Nov 2018 17:28:38 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[500A000000bMLx1IAG]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 30 Aug 2017 17:43:58 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 50 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_14262" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 24 Mar 2017 00:00:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>COMPASS-2280</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>jessica.sigafoos@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 50 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dejesusa@aimspecialtyhealth.com</customfieldvalue>
            <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>doug@not2scale.com</customfieldvalue>
            <customfieldvalue>durran.jordan@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>irina.shestak@mongodb.com</customfieldvalue>
            <customfieldvalue>lucas.hrabovsky</customfieldvalue>
            <customfieldvalue>massimiliano.marcon@mongodb.com</customfieldvalue>
            <customfieldvalue>peter.chang</customfieldvalue>
            <customfieldvalue>thomas.rueckstiess@mongodb.com</customfieldvalue>
            <customfieldvalue>wesley.griffing</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrysgv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr99ev:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2197">Compass Sprint Hotmail</customfieldvalue>
    <customfieldvalue id="2212">Compass Sprint IRC</customfieldvalue>
    <customfieldvalue id="2505">Iteration Halloumi</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14261" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 10 Oct 2016 00:00:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrq9y7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>