vimeo / graph-explorer

A graphite dashboard powered by structured metrics
http://vimeo.github.io/graph-explorer/
Apache License 2.0
1.06k stars 93 forks source link

How do I set the correct timezone for graph-explorer for non-american time? #40

Closed thehaven closed 11 years ago

thehaven commented 11 years ago

Hi,

I have my timezone in graphite setup to be: TIME_ZONE = 'Europe/London'

Graphs in graphite show the correct time but graphs in graph-explorer show offset (I assume North American default).

I can see references in timeserieswidget to setting the tz value correctly but am unsure where this needs to go or whether this is being wrapped by any other code.

Any help/pointers would be appreciated.

thanks.

thehaven commented 11 years ago

Answering my own question, I found the preferences.py file with the timezone variable. I have now set it to: timezone = "Europe/London" And the timezone is now correct.

Dieterbe commented 11 years ago

should mention preferences.py in the README , 6afabc91aa6d84f3237062b4fee20ad2fc8cecc5 fixes that