Embedded dates are displayed using desktop timezone rather than UTC

XMLWordPrintableJSON

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

      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
              Reporter:
              Brian Blevins
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: