Forum
Perch Timezones and Shop
I've set my time zone via define('PERCH_TZ', 'Australia/Perth');
, and diagnostics report that as working.
However whenever a Perch order is completed, the successful order status date displays as UTC time.
I've set my time zone via define('PERCH_TZ', 'Australia/Perth');
, and diagnostics report that as working.
However whenever a Perch order is completed, the successful order status date displays as UTC time.
Where are you seeing that?
In the 'Orders' page of the Perch shop control panel, and on my confirmation order screen using:
Extended diagnostics show:
Latest order taken about 15 minutes ago, but its 7:45pm here in Perth, Australia.
Is your server in the same timezone specified in your config file?
No, it would be located in Melbourne, Australia – about 3 hours ahead of Perth, Australia.
Ok, I'll take a look at it.
Thanks.
If it helps, phpinfo.php gives the servers default timezone as UTC, and echoing the date in a PHP file shows UTC.
And heres some strange things when creating a brand new page:
Great, thanks, I'll take a look.