Lumen 5.5 TimeZone

Lumen 的 timezone 設定於 .env
有兩個參數就要設定

APP_TIMEZONE=Asia/Taipei
DB_TIMEZONE=+08:00

如果只設定 APP_TIMEZONE 的話
部分寫入資料庫的資料會有問題

Comments

Popular posts from this blog

CentOS7 如何新增/移除 Rich Rule for firewalld

mac 安裝 mtr

Howto use Postman test Cors