From 30d2b530751e8bb51fb4b761e8654fede797b131 Mon Sep 17 00:00:00 2001 From: Bashy Date: Wed, 3 Jun 2026 17:45:28 +0300 Subject: [PATCH] Fix dispatcher timezone: use local time to match datetime-local form input Co-Authored-By: Claude Sonnet 4.6 --- bin/dispatch-social.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dispatch-social.php b/bin/dispatch-social.php index aaa95e4..36e5b8f 100755 --- a/bin/dispatch-social.php +++ b/bin/dispatch-social.php @@ -14,7 +14,7 @@ require ROOT . '/lib/bootstrap.php'; $lock = fopen(sys_get_temp_dir() . '/hackman_social.lock', 'c'); if (!$lock || !flock($lock, LOCK_EX | LOCK_NB)) exit(0); -$now = gmdate('Y-m-d H:i:s'); +$now = date('Y-m-d H:i:s'); $stmt = $db->prepare(" SELECT t.id AS target_id, t.post_id, t.project_id, t.platform, t.target_key, t.include_image,