Use Copenhagen timezone for dates

This commit is contained in:
hbrain 2026-05-25 22:38:30 +02:00
parent c48dea82e9
commit 8082b2b51c
2 changed files with 2 additions and 0 deletions

View file

@ -1,4 +1,5 @@
<?php
date_default_timezone_set(Europe/Copenhagen);
$config = require __DIR__ . "/config.php";
function x($s){ return htmlspecialchars((string)$s, ENT_XML1 | ENT_QUOTES, "UTF-8"); }
function nice_title($s){ return trim(ucwords(str_replace(['_','-'], ' ', $s))); }