mirror of
https://codeberg.org/vlw/vlw.se.git
synced 2025-09-14 05:13:46 +02:00
fix: timezone on contact page
This commit is contained in:
parent
412a457bee
commit
75a15cc8c1
2 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
||||||
[api]
|
[api]
|
||||||
base_url = "https://api.vlw.one/"
|
base_url = "https://api.vlw.one/"
|
||||||
api_key = ""
|
api_key = ""
|
||||||
verify_peer = 0
|
verify_peer = 0
|
||||||
|
|
||||||
|
[time]
|
||||||
|
date_time_zone = "Europe/Stockholm"
|
|
@ -15,7 +15,7 @@
|
||||||
<style><?= VV::css("pages/contact") ?></style>
|
<style><?= VV::css("pages/contact") ?></style>
|
||||||
<section>
|
<section>
|
||||||
<h1>Let's chat</h1>
|
<h1>Let's chat</h1>
|
||||||
<p>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 <i><?= date("h:i a") ?></i> in Sweden right now.</p>
|
<p>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 <i><?= (new DateTime("now", new DateTimeZone($_ENV["time"]["date_time_zone"])))->format("h:i a") ?></i> in Sweden right now.</p>
|
||||||
</section>
|
</section>
|
||||||
<section class="social">
|
<section class="social">
|
||||||
<a href="mailto:victor@vlw.se"><social>
|
<a href="mailto:victor@vlw.se"><social>
|
||||||
|
|
Loading…
Add table
Reference in a new issue