浏览代码

Hardcode UTC application timezone

Daniel Supernault 3 年之前
父节点
当前提交
b0d2c5e143
共有 1 个文件被更改,包括 3 次插入10 次删除
  1. 3 10
      config/app.php

+ 3 - 10
config/app.php

@@ -55,17 +55,10 @@ return [
     'url' => env('APP_URL', 'https://localhost'),
     'url' => env('APP_URL', 'https://localhost'),
 
 
     /*
     /*
-    |--------------------------------------------------------------------------
-    | Application Timezone
-    |--------------------------------------------------------------------------
-    |
-    | Here you may specify the default timezone for your application, which
-    | will be used by the PHP date and date-time functions. We have gone
-    | ahead and set this to a sensible default for you out of the box.
-    |
-    */
+     * Do not edit your timezone or things will break!
+     */
 
 
-    'timezone' => env('APP_TIMEZONE', 'UTC'),
+    'timezone' => 'UTC',
 
 
     /*
     /*
     |--------------------------------------------------------------------------
     |--------------------------------------------------------------------------