<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:12:13 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>[CDRIVER-1339] Descriptive error when JSON $date lacks timezone</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1339</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;The Mongo extended JSON documentation states that $date has a &lt;a href=&quot;https://docs.mongodb.com/manual/reference/mongodb-extended-json/#date&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&quot;mandatory time zone field.&quot;&lt;/a&gt; libbson follows this and does not allow dates without time zones such as &lt;a href=&quot;https://github.com/mongodb/libbson/blob/master/tests/test-iso8601.c#L197&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&quot;1970-01-01T00:00:00.000&quot;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Return a better error message than &lt;tt&gt;&quot;Could not parse &quot;1970-01-01T00:00:00.000&quot; as a date&quot;&lt;/tt&gt;? Maybe &lt;tt&gt;&quot;Could not parse &quot;1970-01-01T00:00:00.000&quot; missing time zone&quot;&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="295651">CDRIVER-1339</key>
            <summary>Descriptive error when JSON $date lacks timezone</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</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="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="shane.harvey@mongodb.com">Shane Harvey</reporter>
                        <labels>
                            <label>intern2016</label>
                    </labels>
                <created>Tue, 21 Jun 2016 21:16:31 +0000</created>
                <updated>Tue, 13 Dec 2016 19:24:27 +0000</updated>
                            <resolved>Tue, 13 Dec 2016 01:43:21 +0000</resolved>
                                                    <fixVersion>1.6.0</fixVersion>
                                    <component>json</component>
                    <component>libbson</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1456728" author="xgen-internal-githook" created="Tue, 13 Dec 2016 19:24:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1339&quot; title=&quot;Descriptive error when JSON $date lacks timezone&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1339&quot;&gt;&lt;del&gt;CDRIVER-1339&lt;/del&gt;&lt;/a&gt; missing include in bson-iso8601.c&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/03bbb4e7e7311996e437354e258fc16e272c630a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/03bbb4e7e7311996e437354e258fc16e272c630a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1455977" author="xgen-internal-githook" created="Tue, 13 Dec 2016 01:44:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1339&quot; title=&quot;Descriptive error when JSON $date lacks timezone&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1339&quot;&gt;&lt;del&gt;CDRIVER-1339&lt;/del&gt;&lt;/a&gt; good errors from ISO8601 parser&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/199ab191baa4c4031cc9671aaa0031c2d1957528&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/199ab191baa4c4031cc9671aaa0031c2d1957528&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1308132" author="bjori" created="Mon, 27 Jun 2016 22:32:58 +0000"  >&lt;p&gt;I don&apos;t think we should allow times without timezones.&lt;/p&gt;

&lt;p&gt;not sure how trivial it would be to improve the error message to say why it can&apos;t be parsed. its a parse error. trying to guess how to fix it is a deep hole.....&lt;/p&gt;</comment>
                    </comments>
                    <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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsso5z:</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="1301">C Driver 2016 sprint 9</customfieldvalue>

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