Skip to content

Commit 04f7a84

Browse files
(DOCSP-16159): Add missing comma to datefromstring example
1 parent f888e68 commit 04f7a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/reference/operator/aggregation/dateFromString.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Consider a collection ``logmessages`` that contains the following documents:
9393
{ _id: 1, date: "2017-02-08T12:10:40.787", timezone: "America/New_York", message: "Step 1: Started" },
9494
{ _id: 2, date: "2017-02-08", timezone: "-05:00", message: "Step 1: Ended" },
9595
{ _id: 3, message: " Step 1: Ended " },
96-
{ _id: 4, date: "2017-02-09", timezone: "Europe/London", message: "Step 2: Started"}
96+
{ _id: 4, date: "2017-02-09", timezone: "Europe/London", message: "Step 2: Started"},
9797
{ _id: 5, date: "2017-02-09T03:35:02.055", timezone: "+0530", message: "Step 2: In Progress"}
9898

9999
The following aggregation uses $dateFromString to convert the ``date`` value

0 commit comments

Comments
 (0)