cakephp3.3中没有原来的core.php,所以现在需要在 app/config/bootstrap.php 中进行设置。 将 date_default_timezone_set 设置为 Asia/Shanghai 即可。