Set the TZ environment variable in your program.<br><br><div class="gmail_quote">On Fri, Apr 23, 2010 at 4:28 PM, Jose Oscar Olivares Ocampo/Mexico/Contr/IBM <span dir="ltr"><<a href="mailto:oscaro@mx1.ibm.com">oscaro@mx1.ibm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><font size="2" face="sans-serif"> Hello Everybody.</font>
<br>
<br><font size="2" face="sans-serif">We have an application running on a
server with CDT time zone and all the graphs are generated using that.</font>
<br><font size="2" face="sans-serif">However, all the users are distributed
across different Time Zones.</font>
<br>
<br><font size="2" face="sans-serif">Is there a way to generated the chart
based on the user's Time Zone?</font>
<br><font size="2" face="sans-serif">I mean, change the x axis labels to
contain the information on the user's time zone (instead of CDT).</font>
<br><font size="2" face="sans-serif">For instance, if a user on EDT ask for
a chart on a given day from 6 PM to 7 PM on EDT, we can convert the time
to CDT and use that as the begin and end time passed to the rrdgraph; but
the x axis labels will show 5 to 6.</font>
<br>
<br><font size="2" face="sans-serif">The --x-grid allows us to change the
labels on the x axis and specify any time format, but it is still based
on the time zone of the machine that runs it (we cannot do operations on
the data for the format).</font>
<br><font size="2" face="sans-serif">Is it possible to tell the rrdtool to
print the time on the x axis with a different time zone?</font>
<br>
<br><font size="2" face="sans-serif">Best Regards!<br>
<br>
José Oscar Olivares Ocampo<br>
Infrastructure Tools<br>
Tie Line: 877-3115</font><br>_______________________________________________<br>
rrd-users mailing list<br>
<a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a><br>
<br></blockquote></div><br>