From cfc115665b7cd2ab990c19c2a100736ab9f737a4 Mon Sep 17 00:00:00 2001 From: perco Date: Tue, 12 May 2026 16:39:20 +0200 Subject: [PATCH] =?UTF-8?q?Todo=20cron:=20fix=20timezone=20(Europe/Paris)?= =?UTF-8?q?=20=E2=80=94=20container=20runs=20UTC,=20tasks=20stored=20in=20?= =?UTF-8?q?local=20time?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- cron/todo_notify.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cron/todo_notify.php b/cron/todo_notify.php index 5be07ff..7ab77b0 100644 --- a/cron/todo_notify.php +++ b/cron/todo_notify.php @@ -6,6 +6,8 @@ * Usage: php /opt/container/househub/cron/todo_notify.php */ +date_default_timezone_set('Europe/Paris'); + $DB_HOST = getenv('DB_HOST') ?: 'househub-db'; $DB_USER = getenv('DB_USER') ?: 'househub'; $DB_PASS = getenv('DB_PASS') ?: 'changeme';