diff --git a/app/Http/Controllers/ActivityController.php b/app/Http/Controllers/ActivityController.php index 8788f21..5e6224d 100644 --- a/app/Http/Controllers/ActivityController.php +++ b/app/Http/Controllers/ActivityController.php @@ -5,7 +5,6 @@ use App\Models\Activity; use App\Models\CommentActivity; use App\Models\Link; use App\Models\Project; -use App\Models\ReportActivity; use App\Models\TemplateGantt; use App\Models\UserToActivity; use Illuminate\Http\Request; diff --git a/bootstrap/app.php b/bootstrap/app.php index 5f8ccca..0bef746 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -6,7 +6,7 @@ require_once __DIR__.'/../vendor/autoload.php'; dirname(__DIR__) ))->bootstrap(); -date_default_timezone_set(env('APP_TIMEZONE', 'UTC')); +date_default_timezone_set(env('APP_TIMEZONE', 'Asia/Jakarta')); /* |-------------------------------------------------------------------------- diff --git a/config/app.php b/config/app.php index 2ab666c..c1875ec 100644 --- a/config/app.php +++ b/config/app.php @@ -5,5 +5,7 @@ 'cost_health_danger_threshold' => 0, 'schedule_health_warning_threshold' => 30, 'schedule_health_danger_threshold' => 0, + 'timezone' => env('APP_TIMEZONE', 'Asia/Jakarta'), + 'app_timezone' => env('APP_TIMEZONE', 'Asia/Jakarta'), ]; ?>