graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #05718
[Question #270659]: TimeZone Issue
New question #270659 on Graphite:
https://answers.launchpad.net/graphite/+question/270659
Hi All,
I have just installed graphite and I am doing some tests.
I have problems to understand how to display correct timestamps.
I am in "Europe/Zurich" timezone (UTC+2) and I am sending test values via TCP/IP using the example method "date +%s" timestamp.
I set the following timezone configuration:
/opt/graphite/webapp/graphite/settings.py:TIME_ZONE = 'UTC'
/opt/graphite/webapp/graphite/local_settings.py:TIME_ZONE = 'UTC'
When I do a simple query like this via webapp:
http://${GRAPHITE_SERVER}/render?target=${NAME}&format=json
I get timestamp shifted in "UTC-5" (-7 hours from my localtime), I suppose "America/Chicago" timezone.
When I add to the URL the string &tz='Europe/Zurich' I gain 2 hours and come to -5 from my localtime.
It looks to me that Graphite is still using "America/Chicago" timezone , conversion and display but it believes to be in UTC instead.
Any help will be appreciated.
Thanks In Advance,
d4lamar
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.