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

ISODate is a wrapper not a type.

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • v1.3.4
    • None
    • manual

    Description

      Stop referring to ISODate as a type! ISODate is just a wrapper around new Date(...) that takes a sane argument. We use the normal built-in javascript Date type.

      > new Date() instanceof Date
      true
      > new Date() instanceof ISODate
      false

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 41 weeks, 6 days ago