<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:51:09 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>[DOCS-5865] Comment on: &quot;manual/reference/operator/aggregation/dateToString.txt&quot;</title>
                <link>https://jira.mongodb.org/browse/DOCS-5865</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;when i use 3.0.1&lt;br/&gt;
&amp;gt; db.REAL.aggregate([{$project:{day:{$dateToString:{format:&quot;%Y-%m-%d&quot;,date:&quot;$_ge&lt;br/&gt;
n_time&quot;}}}}])&lt;br/&gt;
assert: command failed: &lt;/p&gt;
{
        &quot;errmsg&quot; : &quot;exception: invalid operator &apos;$dateToString&apos;&quot;,
        &quot;code&quot; : 15999,
        &quot;ok&quot; : 0
}
&lt;p&gt; : aggregate failed&lt;br/&gt;
Error: command failed: &lt;/p&gt;
{
        &quot;errmsg&quot; : &quot;exception: invalid operator &apos;$dateToString&apos;&quot;,
        &quot;code&quot; : 15999,
        &quot;ok&quot; : 0
}
&lt;p&gt; : aggregate failed&lt;br/&gt;
    at Error (&amp;lt;anonymous&amp;gt;)&lt;br/&gt;
    at doassert (src/mongo/shell/assert.js:11:14)&lt;br/&gt;
    at Function.assert.commandWorked (src/mongo/shell/assert.js:254:5)&lt;br/&gt;
    at DBCollection.aggregate (src/mongo/shell/collection.js:1278:12)&lt;br/&gt;
    at (shell):1:9&lt;br/&gt;
2015-07-18T07:45:44.422+0800 E QUERY    Error: command failed: &lt;/p&gt;
{
        &quot;errmsg&quot; : &quot;exception: invalid operator &apos;$dateToString&apos;&quot;,
        &quot;code&quot; : 15999,
        &quot;ok&quot; : 0
}
&lt;p&gt; : aggregate failed&lt;br/&gt;
    at Error (&amp;lt;anonymous&amp;gt;)&lt;br/&gt;
    at doassert (src/mongo/shell/assert.js:11:14)&lt;br/&gt;
    at Function.assert.commandWorked (src/mongo/shell/assert.js:254:5)&lt;br/&gt;
    at DBCollection.aggregate (src/mongo/shell/collection.js:1278:12)&lt;br/&gt;
    at (shell):1:9 at src/mongo/shell/assert.js:13&lt;/p&gt;

&lt;p&gt;does the operator &quot;$dateToString&quot; avaliable in 3.0.1 ?&lt;/p&gt;
</description>
                <environment>win 7  64&lt;br/&gt;
mongodb 3.0.1 &lt;br/&gt;
&lt;br/&gt;
*Location*: &lt;a href=&quot;http://docs.mongodb.org/manual/reference/operator/aggregation/dateToString/#exp._S_dateToString&quot;&gt;http://docs.mongodb.org/manual/reference/operator/aggregation/dateToString/#exp._S_dateToString&lt;/a&gt;&lt;br/&gt;
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36&lt;br/&gt;
*Referrer*: &lt;a href=&quot;http://docs.mongodb.org/manual/reference/operator/aggregation/&quot;&gt;http://docs.mongodb.org/manual/reference/operator/aggregation/&lt;/a&gt;&lt;br/&gt;
*Screen Resolution*: 1366 x 768&lt;br/&gt;
*repo*: docs&lt;br/&gt;
*source*: reference/operator/aggregation/dateToString&lt;br/&gt;
</environment>
        <key id="217448">DOCS-5865</key>
            <summary>Comment on: &quot;manual/reference/operator/aggregation/dateToString.txt&quot;</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="5">Cannot Reproduce</resolution>
                                        <assignee username="kay.kim@mongodb.com">Kay Kim</assignee>
                                    <reporter username="xgen-internal-docs">Docs Collector User</reporter>
                        <labels>
                            <label>collector-298ba4e7</label>
                    </labels>
                <created>Fri, 17 Jul 2015 23:52:47 +0000</created>
                <updated>Fri, 3 Nov 2017 11:20:34 +0000</updated>
                            <resolved>Sat, 18 Jul 2015 02:35:06 +0000</resolved>
                                                    <fixVersion>01112017-cleanup</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 8 Dec 2016 23:02:22 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 30 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_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>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 30 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-docs</customfieldvalue>
            <customfieldvalue>kay.kim@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrq73b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsb9zb:</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_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|hrz653:</customfieldvalue>

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