From 79a09430aa82973d45f0f7dab855fa386133c14e Mon Sep 17 00:00:00 2001 From: Yutaka Kurosaki Date: Sun, 30 Nov 2025 13:46:16 +0900 Subject: [PATCH] Fix timezone issue: Set default timezone to Asia/Tokyo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update config/app.php to use APP_TIMEZONE from .env with Asia/Tokyo as default - Add APP_TIMEZONE to .env.example - Fixes issue where timestamps were displayed 9 hours behind (UTC vs JST) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/.env.example | 1 + src/config/app.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/.env.example b/src/.env.example index c0660ea..ac0ea8b 100644 --- a/src/.env.example +++ b/src/.env.example @@ -7,6 +7,7 @@ APP_URL=http://localhost APP_LOCALE=en APP_FALLBACK_LOCALE=en APP_FAKER_LOCALE=en_US +APP_TIMEZONE=Asia/Tokyo APP_MAINTENANCE_DRIVER=file # APP_MAINTENANCE_STORE=database diff --git a/src/config/app.php b/src/config/app.php index 423eed5..a66feb6 100644 --- a/src/config/app.php +++ b/src/config/app.php @@ -65,7 +65,7 @@ | */ - 'timezone' => 'UTC', + 'timezone' => env('APP_TIMEZONE', 'Asia/Tokyo'), /* |--------------------------------------------------------------------------