I don't see anything in site.config for setting the timezone.

Is there somewhere else that is set?

Was expecting a setting in site.config like:

timeZone: US/Eastern

in site.config

then in some initialization script somewhere...

$timeZone = BOLTconfig('timeZone');
set_tz($$timeZone);

...

The function set_tz works for both PHP 5.1+ and older

function set_tz ($TZ){
    if (phpversion() >= "5.1.0") {
        date_default_timezone_set($TZ);
    } else {
        putenv("TZ=" . $TZ);
    }
}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to