Mobile app version of vmapp.org
Login or Join
BetL925

: I found this which might be some help. Magento internally sets all cron dates to occur in GMT, it actually overrides the server php time zone settings so that all log events and all

@BetL925

I found this which might be some help.


Magento internally sets all cron dates to occur in GMT, it actually overrides the server php time zone settings so that all log events and all cron time schedules are triggered in the GMT timezone - you can see this in Mage.php on line 527. All php time functions called within Magento will be in GMT as a result (like the timestamp in the log call above).

Magento then adds back your timezone offset based on your locale settings when it shows you times in the admin panel.
It does this so you can run multiple stores in different timezones based on your locale choice and ideally you would never know nor care about this - but it makes debugging cron events really confusing.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @BetL925

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme