From a7655f9cdbb8cc9a38b8f558e4593d8355d58ee0 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Fri, 10 May 2024 07:25:22 +0000 Subject: [PATCH] fix: correct and configurable timezone on contact page (#30) --- .env.example.ini | 5 ++++- pages/contact.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.env.example.ini b/.env.example.ini index 12a228f..8d9449e 100755 --- a/.env.example.ini +++ b/.env.example.ini @@ -1,4 +1,7 @@ [api] base_url = "https://api.vlw.one/" api_key = "" -verify_peer = 0 \ No newline at end of file +verify_peer = 0 + +[time] +date_time_zone = "Europe/Stockholm" \ No newline at end of file diff --git a/pages/contact.php b/pages/contact.php index 3082c9f..aaeebf5 100755 --- a/pages/contact.php +++ b/pages/contact.php @@ -15,7 +15,7 @@

Let's chat

-

The best way to get in touch is by email, or with the form on this page. I will try to reply as quickly as possible, probably within a few hours. The time is in Sweden right now.

+

The best way to get in touch is by email, or with the form on this page. I will try to reply as quickly as possible, probably within a few hours. The time is format("h:i a") ?> in Sweden right now.