There are several mods in the extension store including free ones - just search for "timezone"
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
can change the code here? i haven't test.
opencart-2011\system\startup.php
line#10
opencart-2011\system\startup.php
line#10
Code: Select all
if (!ini_get('date.timezone')) {
date_default_timezone_set('UTC');
}
OpenCart®
PHP Developer.
更多中文教學在 OpenCart香港官方網站 !
QQ: 2039574815
i tried.. not workingyuno wrote:can change the code here? i haven't test.
opencart-2011\system\startup.php
line#10Code: Select all
if (!ini_get('date.timezone')) { date_default_timezone_set('UTC'); }
You can set local timezone from mysql even. You need to run code from phpmyadmin
SET GLOBAL time_zone = '+8:00';
Change according yours
SET GLOBAL time_zone = '+8:00';
Change according yours
i dont hv the right to modify mysql timezone... i am using godaddy shared hostingdeepak21saini wrote:You can set local timezone from mysql even. You need to run code from phpmyadmin
SET GLOBAL time_zone = '+8:00';
Change according yours
Just 2 questions to all:
1. where do you need the time (should it be displayed somewhere)
2. what for do you need a local time
1. where do you need the time (should it be displayed somewhere)
2. what for do you need a local time
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Error logs, admin recent activity etc. show time and it is easier to check those when you can see corrent time automaticly.Just 2 questions to all:
1. where do you need the time (should it be displayed somewhere)
2. what for do you need a local time
Only 'anyone' crying is not enough!iamafaker wrote:anyone???
But before you give up, use attached vqmod for Opencart 2.x
Read the readme, adopt the timestamp (has to be done manual, have no more time currently).
Tested with OC 2.0.1.1
If you have troubles, post them here or contact me.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Who is online
Users browsing this forum: No registered users and 157 guests