<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:03 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-511] Ability To Apply [BsonDateTimeOptions(Kind = DateTimeKind.Local)] To All DateTimes</title>
                <link>https://jira.mongodb.org/browse/CSHARP-511</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;It would be great to have a global setting (like the ID generator setting) to apply &lt;span class=&quot;error&quot;&gt;&amp;#91;BsonDateTimeOptions(Kind = DateTimeKind.Local)&amp;#93;&lt;/span&gt; to all DateTime objects persisted.&lt;/p&gt;</description>
                <environment></environment>
        <key id="42366">CSHARP-511</key>
            <summary>Ability To Apply [BsonDateTimeOptions(Kind = DateTimeKind.Local)] To All DateTimes</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="craig.wilson@mongodb.com">Craig Wilson</assignee>
                                    <reporter username="rhoffman">Ryan Hoffman</reporter>
                        <labels>
                    </labels>
                <created>Mon, 25 Jun 2012 19:16:09 +0000</created>
                <updated>Wed, 19 Oct 2016 14:16:09 +0000</updated>
                            <resolved>Mon, 25 Jun 2012 19:33:23 +0000</resolved>
                                                                                        <votes>3</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="136390" author="rhoffman" created="Mon, 25 Jun 2012 19:30:03 +0000"  >&lt;p&gt;Actually it looks like on the linked page there is a comment by @Robert Stam saying:&lt;/p&gt;

&lt;p&gt;&quot;You change the value of the static property called DateTimeSerializationOptions.Defaults.&quot;&lt;/p&gt;

&lt;p&gt;So you can do this:&lt;br/&gt;
DateTimeSerializationOptions.Defaults.Kind = DateTimeKind.Local;&lt;/p&gt;

&lt;p&gt;Thanks for the link!&lt;/p&gt;</comment>
                            <comment id="136387" author="craiggwilson" created="Mon, 25 Jun 2012 19:23:18 +0000"  >&lt;p&gt;There is an ISerializationOptionsConvention you can implement.  You can check to see if the memberInfo&apos;s type is a DateTime and return DateTimeSerializationOptions.  Have a look &lt;a href=&quot;http://www.mongodb.org/display/DOCS/CSharp+Driver+Serialization+Tutorial&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/CSharp+Driver+Serialization+Tutorial&lt;/a&gt; for how to create a profile and apply it.&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|hrh4cn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13502</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>