<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:33:10 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>[SERVER-13874] Improve handling of dates, times, and time intervals</title>
                <link>https://jira.mongodb.org/browse/SERVER-13874</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This is the top level tracking ticket for improvements to the time system during the 2.7 development cycle.  This should be revised to be more specific once the scope is clear.&lt;/p&gt;</description>
                <environment></environment>
        <key id="135420">SERVER-13874</key>
            <summary>Improve handling of dates, times, and time intervals</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="schwerin@mongodb.com">Andy Schwerin</assignee>
                                    <reporter username="sverch">Shaun Verch</reporter>
                        <labels>
                            <label>community-team</label>
                    </labels>
                <created>Wed, 7 May 2014 22:22:51 +0000</created>
                <updated>Wed, 25 Jan 2017 22:01:33 +0000</updated>
                            <resolved>Fri, 15 May 2015 15:16:12 +0000</resolved>
                                                    <fixVersion>3.1.3</fixVersion>
                                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="915339" author="xgen-internal-githook" created="Fri, 15 May 2015 17:05:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;kaloianm&apos;, u&apos;name&apos;: u&apos;Kaloian Manassiev&apos;, u&apos;email&apos;: u&apos;kaloian.manassiev@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13874&quot; title=&quot;Improve handling of dates, times, and time intervals&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13874&quot;&gt;&lt;del&gt;SERVER-13874&lt;/del&gt;&lt;/a&gt; Fix MSVC signed/unsigned mismatch warning&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a259e244153a7fd8644c7e8a583d70fc58e8a394&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a259e244153a7fd8644c7e8a583d70fc58e8a394&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="915210" author="schwerin" created="Fri, 15 May 2015 15:16:12 +0000"  >&lt;p&gt;Some log messages that used to write dates in c-time format may now write them in ISO8601 format, still in the local timezone.&lt;/p&gt;</comment>
                            <comment id="915200" author="xgen-internal-githook" created="Fri, 15 May 2015 15:11:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13874&quot; title=&quot;Improve handling of dates, times, and time intervals&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13874&quot;&gt;&lt;del&gt;SERVER-13874&lt;/del&gt;&lt;/a&gt; Support converting Date_t to system_clock::time_point and back.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2518e60c495a700cbb44237425ecf064db970dbd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2518e60c495a700cbb44237425ecf064db970dbd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="914658" author="xgen-internal-githook" created="Thu, 14 May 2015 21:22:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13874&quot; title=&quot;Improve handling of dates, times, and time intervals&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13874&quot;&gt;&lt;del&gt;SERVER-13874&lt;/del&gt;&lt;/a&gt; Get rid of some dead code in time_support.h/cpp&lt;/p&gt;

&lt;p&gt;A little dead or near-dead code elimination, and improve how Date_t::toString()&lt;br/&gt;
works.  Specifically, it no longer crashes when &quot;now&quot; is before the posix epoch,&lt;br/&gt;
and it prints ISO8601 dates instead of &quot;c time&quot;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cf8b5f890c00622964a311c4def1417c717f0b09&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cf8b5f890c00622964a311c4def1417c717f0b09&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="913487" author="xgen-internal-githook" created="Wed, 13 May 2015 22:16:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13874&quot; title=&quot;Improve handling of dates, times, and time intervals&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13874&quot;&gt;&lt;del&gt;SERVER-13874&lt;/del&gt;&lt;/a&gt; Make mongo::Milliseconds et al. aliases for equivalent stdx::chrono types.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/7c7e631b90a7f5efef7006a21c5c3ecc81c3bc92&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/7c7e631b90a7f5efef7006a21c5c3ecc81c3bc92&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="913461" author="xgen-internal-githook" created="Wed, 13 May 2015 21:59:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13874&quot; title=&quot;Improve handling of dates, times, and time intervals&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13874&quot;&gt;&lt;del&gt;SERVER-13874&lt;/del&gt;&lt;/a&gt; Make mongo::Milliseconds et al. aliases for equivalent stdx::chrono types.&lt;/p&gt;

&lt;p&gt;Also introduces operators for adding stdx::chrono::duration to Date_t,&lt;br/&gt;
subtracting two Date_ts to get Milliseconds, and remove the use of&lt;br/&gt;
reinterpret_cast from the implementation of BSON Timestamp type.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/532dfe1180c2da552bebed70af1e7fba34cf355c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/532dfe1180c2da552bebed70af1e7fba34cf355c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="911232" author="xgen-internal-githook" created="Tue, 12 May 2015 14:16:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13874&quot; title=&quot;Improve handling of dates, times, and time intervals&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13874&quot;&gt;&lt;del&gt;SERVER-13874&lt;/del&gt;&lt;/a&gt; Make mongo::Milliseconds et al. aliases for equivalent stdx::chrono types.&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 9aac625685811873ffbc2d3e8d09531eff1ce10e.&lt;/p&gt;

&lt;p&gt;Committed in error.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3681d3dbca85b25735fa0ec676828d1da191732d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3681d3dbca85b25735fa0ec676828d1da191732d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="911201" author="xgen-internal-githook" created="Tue, 12 May 2015 13:58:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13874&quot; title=&quot;Improve handling of dates, times, and time intervals&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13874&quot;&gt;&lt;del&gt;SERVER-13874&lt;/del&gt;&lt;/a&gt; Make mongo::Milliseconds et al. aliases for equivalent stdx::chrono types.&lt;/p&gt;

&lt;p&gt;Also introduces operators for adding stdx::chrono::duration to Date_t,&lt;br/&gt;
subtracting two Date_ts to get Milliseconds, and remove the use of&lt;br/&gt;
reinterpret_cast from the implementation of BSON Timestamp type.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/9aac625685811873ffbc2d3e8d09531eff1ce10e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/9aac625685811873ffbc2d3e8d09531eff1ce10e&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="135606">SERVER-13882</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="65325">SERVER-8573</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="204352">SERVER-18490</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="128648">SERVER-13446</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 9 May 2015 16:24:27 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 39 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-13882'>SERVER-13882</a></s>]]></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, 15 May 2015 23:59:59 +0000</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>crystal.horn@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 39 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>sverch</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlvcv:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3748</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_14261" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 7 May 2014 00:00:00 +0000</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_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsgxgn:</customfieldvalue>

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