# Laravel timezone ###### tags: `Laravel` 在建立完專案後,Timezone 預設為 UTC,所以在測試使用model 寫資料時 created_at,都不會是目前台灣時間相同,所以需進行調整。 ```php <?php # Project Laravel version 5.7.28 # file patch: confing/app.php #'timezone' => 'UTC', 'timezone' => 'Asia/Taipei', ?> ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up