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

[SERVER] Example values on Time Series Best Practices page are not properly encoded as timestamps

    XMLWordPrintableJSON

Details

    Description

      The Best Practices for Time Series Collections page contains many example documents which where the "timestamp" fields are not valid Timestamp values.

      This seems to occur for all example documents starting after Use Consistent Field Order in Documents.

      Example of correct value: "timestamp": ISODate("2021-05-19T00:00:00.000Z")

      Example of incorrect value: timestamp: 2020-01-23T00:00:00.441Z
      (Note the absence of ISODate("..."))

      The entire page also seems to be be inconsistent in regards to enclosing document field names with double quotes. 

      Attachments

        Activity

          People

            dachary.carey@mongodb.com Dachary Carey
            adam.harrison@mongodb.com Adam Harrison
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 8 weeks, 1 day ago