[COMPASS-3372] Embedded dates are displayed using desktop timezone rather than UTC Created: 03/Jan/19  Updated: 29/Oct/23  Resolved: 22/Feb/19

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.16.3
Fix Version/s: 1.18.0

Type: Bug Priority: Major - P3
Reporter: Brian Blevins Assignee: Durran Jordan
Resolution: Fixed Votes: 1
Labels: timezone
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2019-02-22 at 12.27.09.png     PNG File image-2019-01-03-16-29-58-500.png    
Issue Links:
Related
related to COMPASS-3443 Timezone shift when editing documents... Closed
is related to COMPASS-2831 As a DBA or developer, I want the opt... Closed
is related to COMPASS-2647 Compass displays date time with confi... Open
Sprint: Iteration Xiaolongbao, Iteration Yuca

 Description   

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")
		}
	}
}

 



 Comments   
Comment by Durran Jordan [ 22/Feb/19 ]

Fixed in master.

Generated at Wed Feb 07 22:33:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.