From c873ce3f1c2313f4d795a44ea89d3df7008e9cfe Mon Sep 17 00:00:00 2001 From: ssbg04 Date: Sun, 10 May 2026 17:52:46 +0800 Subject: [PATCH] fix UTC+8 for timezone --- includes/db/db.php | 2 ++ index.php | 1 + 2 files changed, 3 insertions(+) diff --git a/includes/db/db.php b/includes/db/db.php index 946ad83..dc14bbe 100644 --- a/includes/db/db.php +++ b/includes/db/db.php @@ -16,6 +16,8 @@ // require_once __DIR__ . "/../env_loader.php"; // loadEnv(__DIR__ . "/../../.env"); + +date_default_timezone_set('Asia/Manila'); $host = getenv("DB_HOST"); $port = getenv("DB_PORT"); diff --git a/index.php b/index.php index 8a1ce73..056dae1 100644 --- a/index.php +++ b/index.php @@ -24,6 +24,7 @@