<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:49:04 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>[CSHARP-4694] $dateToString aggregation with timezone outputs invalid ISO8601 string on older servers</title>
                <link>https://jira.mongodb.org/browse/CSHARP-4694</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;This ticket was split from &lt;tt&gt;DRIVERS-2620&lt;/tt&gt;, please see that ticket for a detailed description. &lt;/p&gt;</description>
                <environment></environment>
        <key id="2378362">CSHARP-4694</key>
            <summary>$dateToString aggregation with timezone outputs invalid ISO8601 string on older servers</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="13201">Fixed</resolution>
                                        <assignee username="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Jun 2023 16:53:16 +0000</created>
                <updated>Sat, 28 Oct 2023 11:46:50 +0000</updated>
                            <resolved>Tue, 4 Jul 2023 17:36:32 +0000</resolved>
                                                    <fixVersion>2.21.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5543015" author="xgen-internal-githook" created="Tue, 4 Jul 2023 17:35:43 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;rstam&apos;, &apos;email&apos;: &apos;robert@robertstam.org&apos;, &apos;username&apos;: &apos;rstam&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4694&quot; title=&quot;$dateToString aggregation with timezone outputs invalid ISO8601 string on older servers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4694&quot;&gt;&lt;del&gt;CSHARP-4694&lt;/del&gt;&lt;/a&gt;: Fix a few $dateToString tests on latest.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/a9bad55e36e0c7211d9bf74a75790990e11dbf54&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/a9bad55e36e0c7211d9bf74a75790990e11dbf54&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5534550" author="rstam" created="Thu, 29 Jun 2023 17:24:24 +0000"  >&lt;p&gt;I think the part of the description that states:&lt;/p&gt;

&lt;p&gt;     but in actually it&apos;s in the timezone of the local server&lt;/p&gt;

&lt;p&gt;is wrong. It should read: &quot;but in actuality it&apos;s in the timezone specified by the timezone argument&quot;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;1.  What would you like to communicate to the user about this feature?&lt;br/&gt;
2.  Would you like the user to see examples of the syntax and/or executable code and its output?&lt;br/&gt;
3.  Which versions of the driver/connector does this apply to?&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1xrxc:</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_22279" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Server Compat</customfieldname>
                        <customfieldvalues>
                                        <label>7.1</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_21457" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Upstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;DRIVERS-2620:&lt;br/&gt;
The current default behavior of MongoDB&apos;s $dateToString aggregation expression is incorrect because it violates ISO 8601. (It tacks on a &quot;Z&quot; to the end of the string by default, which implies that it is in UTC&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;, but in actually it&apos;s in the timezone of the local server.)&lt;/p&gt;

&lt;p&gt;This ticket proposes a number of routes to change the default behavior of $dateToString to bring it into compliance with ISO 8601.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;&#160;&lt;a href=&quot;https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;1. If the query specifies a date format string, this is used.&lt;br/&gt;
2. If no format string is specified, then&lt;br/&gt;
a. If no timezone is specified or the UTC timezone is explicitly specified, the default format will continue to include the &apos;Z&apos; suffix (yyyy-mm-ddThh:mm:ss.uuuZ).&lt;br/&gt;
b. If a non-UTC timezone is specified, the default format will omit the &apos;Z&apos; suffix (yyyy-mm-ddThh:mm:ss.uuu).&lt;/p&gt;

&lt;p&gt;Case 2b is the only change from prior behavior.&lt;/p&gt;

&lt;p&gt;This change was delivered in 7.1.0-rc0 and will NOT be backported.&lt;/p&gt;</customfieldvalue>

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