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

ISODate is a wrapper not a type.

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • v1.3.4
    • Affects Version/s: None
    • Component/s: manual
    • Environment:

      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
      

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

              Created:
              Updated:
              Resolved:
              10 years, 5 weeks, 5 days ago