Time zone is incorrect (v. 2.9 - 2.93)

Some servers do not force the time zone that you set in Site Settings. That means your administration area date/time, as well as the dates on orders, may be off.

Upgrading to 2.94 will fix this and override the server time. Or if you'd like to modify your existing 2.9 - 2.93 build:

  1. Open the stconfig.php file in the main public folder.

  2. Add the code:

    date_default_timezone_set(SB_TIME_ZONE);

    just above the line:

    $permanent_dynamic = $varylist['PermanentRedirect'] == 'y' ? 'y' : 'n';
  3. Save and reload the file.

  4. In your Site Settings, make sure you have the correct time zone for your location.

  5. Any orders that were placed before this update may need to be adjusted, but new ones should not.