Yii2 set / change timezone / date_default_timezone_set

0
4618
views

In this section we want change timezone using yii2 configuration, rather than use date_default_timezone_set().

Eg. using yii2 advanced, just edit common/config/main.php

Reference:
https://github.com/redzjovi/yii2skeleton/commit/3d01f6ba4c5e53b5c5945c92aa9446c644d4bbed

LEAVE A REPLY

Please enter your name here
Please enter your comment!