using local timezone in MongoDB Charts

220 views
Skip to first unread message

Andrea Giancola

unread,
Oct 18, 2018, 7:45:22 AM10/18/18
to mongodb-user
Hi.

I've successfully installed MongoDB Charts 0.10 by following the documented process, and happily built my dashboards.

There is a (minor) inconvenience: timestamp data points are labeled with their UTC values, instead of my local timezone. I've tried setting TZ=... in the environment section of the docker compose file, to no avail.

That is, if I attach a bash session to the docker container and issue the date command, now the timezone is correct, but my mongodb charts are still UTC.

Is there a way to accomplish what I ask?

Thank you.

AG

Tom Hollander

unread,
Oct 22, 2018, 10:24:02 PM10/22/18
to mongodb-user
Hi Andrea -

The bad news is that Charts 0.10 does not provide a way of changing the time zone of dates displayed on a chart.
The good news is we've just implemented this feature, so it will be available in the next release later in the year.

Tom 

Harris Reynolds

unread,
Oct 23, 2018, 11:38:28 AM10/23/18
to mongodb-user
Hi Andrea.   Looks like Tom has you covered on your question.

I've been doing a lot of work on MongoDB dashboards... feel free to email me directly if I can help with any other issues you have: har...@nimblelabs.com 

--harris
Reply all
Reply to author
Forward
0 new messages