[COMPASS-3200] Unix epoch date inserted for Date() in $addFields in Aggregation Pipeline Builder Created: 15/Oct/18  Updated: 29/Oct/23  Resolved: 14/Nov/18

Status: Closed
Project: Compass
Component/s: Aggregation pipeline, Compass
Affects Version/s: None
Fix Version/s: 1.16.0

Type: Bug Priority: Major - P3
Reporter: Brian Blevins Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2018-10-15-17-14-01-887.png     PNG File screenshot-1.png    

 Description   

Inserting a field via @addFields in the Mongo shell yields the current date and time. However, this aggregation pipeline stage in Compass inserts the unix epoch.

[{
$addFields:

Unknown macro: { now_f}

}]


Generated at Wed Feb 07 22:32:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.