Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16360

[SERVER] 7.0 $dateToString %w format specifier is incorrectly documented

    XMLWordPrintableJSON

Details

    Description

      We expect $dateToString %w to return the values 1-7, as indicated by the documentation for previous versions:

      However, the latest 7.0 docs have been changed to indicate that %w formats to 0-6, which is incorrect: https://www.mongodb.com/docs/v7.0/reference/operator/aggregation/dateToString/#format-specifiers

      Attachments

        Activity

          People

            lauren.tran@mongodb.com Lauren Tran
            edwin.zhou@mongodb.com Edwin Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              14 weeks, 3 days ago