I am having timezone = 'Asia/Jakarta' everywhere in
- Magento admin
- checked in phpinfo
But still in the CRON logs I am getting UTC time only, I need this to be in 'Asia/Jakarta' only.
I managed to check app/bootstrap.php and found
On commenting this line CRON runs in correct timezone, but order listing in Magento (Sales > Order) becomes in UTC now.
Tried various solutions in app/bootstrap.php (no one is working) as:
ini_set('date.timezone', 'Asia/Jakarta'); date_default_timezone_set( ini_get('date.timezone') );
Any idea why is it so ?