Hi,

Am 24.11.2009 06:40, schrieb Nicholas Harris:
> Hello all,
>
> I've seen similar questions to this, but never a definitive answer: is 
> it possible to offset the times shown on RRD graphs for a specific timezone?
>
> Using the PHP bindings, I've built a site that allows users to manually 
> specify time ranges for display. I'd like them to also be able to select 
> custom timezones, as the RRD server is CST but the users are all over 
> the world.
>
> Seems like setting the TZ environment var in Perl is only solution so 
> far... anyone seen or done anything like that within PHP?
>   
PHP has a setenv function which can be used to set the TZ environment
variable. Have a try that way.

In case the RRD API allows for another way to get this info set I'd be
glad to hear how and I'll look into getting the PHP Timezone settings
through to the API bindings.

Regards,
BenBE.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to