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

Extended JSON description of data_date doesn't match mongoexport behavior

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      On https://docs.mongodb.com/manual/reference/mongodb-extended-json/:

      The MongoDB JSON parser currently does not support loading ISO-8601 strings representing dates prior to the Unix epoch. When formatting pre-epoch dates and dates past what your system’s time_t type can hold, the following format is used:

      { "$date" : { "$numberLong" : "<dateAsMilliseconds>" } }

      As of MongoDB 3.0, mongoexport does not do this for negative epoch values – it will export them as ISO-8601 dates.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 40 weeks ago