Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3200

Unix epoch date inserted for Date() in $addFields in Aggregation Pipeline Builder

    XMLWordPrintableJSON

Details

    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}

      }]

      Attachments

        1. image-2018-10-15-17-14-01-887.png
          image-2018-10-15-17-14-01-887.png
          108 kB
        2. screenshot-1.png
          screenshot-1.png
          118 kB

        Activity

          People

            Unassigned Unassigned
            brian.blevins@mongodb.com Brian Blevins
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: