Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3372

Embedded dates are displayed using desktop timezone rather than UTC

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.18.0
    • Affects Version/s: 1.16.3
    • Component/s: Compass
    • Iteration Xiaolongbao, Iteration Yuca

      The recent change to display dates in UTC timezone in COMPASS-115 appears to only apply to date objects at the top-level of a document in the Documents tab list view.

      Compare the three ISODate values below to the same values in the attached screenshot from Compass.

      > db.testing_collection.find( { _id: ObjectId("5c2e79805ad3c1147f9fb28c")  } ).pretty()
      {
      	"_id" : ObjectId("5c2e79805ad3c1147f9fb28c"),
      	"levZeroDate" : ISODate("2018-06-15T11:11:11Z"),
      	"docOne" : {
      		"levOneDate" : ISODate("2018-06-15T11:11:11Z"),
      		"docTwo" : {
      			"levTwoDate" : ISODate("2018-06-15T11:11:11Z")
      		}
      	}
      }
      

       

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            brian.blevins@mongodb.com Brian Blevins
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: