Fix dispatcher timezone: use local time to match datetime-local form input
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ac5c262bfb
commit
30d2b53075
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue