Post by ADD Creative » Mon Sep 26, 2022 8:04 pm

lenvil11 wrote:
Mon Sep 26, 2022 12:45 pm
By default, timezone in Opencart 3 is set to UTC.
As a result, the incorrect operation of events related to time: for example, special offers.

It's so simpe to configure the correct timezone: open the file system/config/default.php and specify the desired time zone instead of UTC in the line:
// Date
$_['date_timezone'] = 'UTC';
For example, for Ukraine it will look like this:
// Date
$_['date_timezone'] = 'Europe/Kiev';
Here you can find the list of supported timezones: List of Timezones.

Don't forget to refresh caches after changes.
In 3.0.3.7 and above you also need to set the time zone in the settings.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: integraa and 35 guests