Skip to content

Commit c3e7a39

Browse files
authored
DOCSP-33792 match by date error (#575)
1 parent ac79ff8 commit c3e7a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/query/filter.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ field value is later than June 22nd, 2000:
286286

287287
.. code-block:: shell
288288

289-
{ dateCreated: { $gt: Date('2000-06-22') } }
289+
{ dateCreated: { $gt: new Date('2000-06-22') } }
290290

291291
The query returns the following documents:
292292

0 commit comments

Comments
 (0)