Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1781

Browser shell does not display dates using ISODate()

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Browser Module
    • None
    • Developer Tools
    • 3

      In the CLI:

      > new Date()
      ISODate('2024-05-17T16:40:45.642Z')
      

      (correct)

      In the Compass shell:

      > new Date()
      2024-05-17T16:40:39.569Z
      

      (incorrect)

            Assignee:
            Unassigned Unassigned
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: