View Full Version : Time Setting
superez
18-Jun-2003, 04:07 AM
How does one set the Actinic clock to local time?
Mitch
cdicken
19-Jun-2003, 08:09 AM
The time stamp on the orders will be whatever time was on the server's clock when the order was placed. There is no way to change this that I know of. I'll add it to the wish list.
superez
20-Jun-2003, 09:00 PM
Chris,
I checked with our web host who confirmed our servers are in California which means the time stamp on orders should be PST. We are in Chicago and the time stamps are plus 5 hours (CST) making them GMT. Any thoughts.
Mitch
chrisbrown
23-Jun-2003, 10:51 AM
This is a sort of by-the-way to this point.
In XML documents used for eCommerce (e.g. orders) it is conventional to use local datetime plus an offset to GMT. The receiving software should then sort out how it wants to handle datetime.
This doesn't in anyway solve the original question but it might be an idea for Actinic to incorporate into a future release.
zmagyar
23-Jun-2003, 11:09 PM
I'm afraid I should correct Chris here. All server side times are converted to GMT by the scripts. It is done in sub GetActinicDate of ACTINIC.pm. If you want to change (in a plain text editor of course) this to use the server locale rather than GMT then you may want to change the line($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = gmtime(time);in this function to have($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time);However this hasn't ever been tested by Actinic therefore there is no guaratee and you should do it at your own risk.
I hope this helps.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.