powa-team / powa

PostgreSQL Workload Analyzer
http://powa.readthedocs.io/
PostgreSQL License
766 stars 57 forks source link

Wrong timezone on graph #55

Closed trourance closed 7 years ago

trourance commented 8 years ago

Hi,

When I display the graph, the times are always displayed with GMT, even if the timezone of our DB is set to GMT+2. Is it possible to use the change/chose the timezone to be displayed in the UI ?

Thank you

rjuju commented 8 years ago

Hello,

There's no option to set the displayed timezone. The timestamp should be automatically converted to your current timezone. Is your computer configured to timezone GMT ?

trourance commented 8 years ago

Hello,

My current timezone is configured to CEST: jeu oct 15 19:17:44 CEST 2015. However, all the graphs are displayed with GMT timezone and a gap of two hours. Btw, the timestmap is in the same timezone on the server, so it is converted back to GMT.

trourance commented 8 years ago

Any news or advices about that ? I still have a gap between the time displayed in the calendar and the one displayed on the graph (which is always set to GMT).

rjuju commented 8 years ago

Hello,

We looked at this and the js library used should display timestamps in local timezone, which it obviously does not :(

We'll continue to investigate on it, hoping to fix that issue soon.

rjuju commented 7 years ago

Hello,

Sorry about the delay, this issue is now be fixed in https://github.com/dalibo/powa-web/commit/ba29159e1dbe09513590335ca94ec0c1a935945d.

trourance commented 7 years ago

Hi,

Thanks for the fix. Sorry, I did not see your email before :-\

2016-12-02 20:19 GMT+01:00 Julien Rouhaud notifications@github.com:

Closed #55 https://github.com/dalibo/powa/issues/55.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dalibo/powa/issues/55#event-880449516, or mute the thread https://github.com/notifications/unsubscribe-auth/AGoUKe5nylNjjafjKeau8q4VdMwbnhGwks5rEG8ogaJpZM4F_Kvy .