From e695852d197d8a7953cbaebc3385ea5629041695 Mon Sep 17 00:00:00 2001 From: jaredb7 Date: Sun, 2 Apr 2023 00:27:08 +1000 Subject: [PATCH] Make PHP use the systems timezone setting The timezone in the PHP INI file could differ from the timezone set on the system itself and result incorrect time display on webpages and wherever date functions are used. Simple fix to read the systems timezone and make PHP use the correct one. --- homepage/index.php | 20 ++++++++++++++++++++ homepage/views.php | 22 +++++++++++++++++++++- 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/homepage/index.php b/homepage/index.php index 63e86e9..7d05830 100644 --- a/homepage/index.php +++ b/homepage/index.php @@ -1,4 +1,24 @@