Post delay is in seconds

This commit is contained in:
Michael 2020-11-30 06:23:27 +00:00
parent a7e0a1f7de
commit cbd1ba8da2

View file

@ -629,7 +629,7 @@ class Feed
foreach ($postings as $posting) {
if ($delay > 0) {
$publish_at = DateTimeFormat::utc('now + ' . $post_delay . ' minute');
$publish_at = DateTimeFormat::utc('now + ' . $post_delay . ' second');
Logger::notice('Got publishing date', ['delay' => $delay, 'publish_at' => $publish_at, 'cid' => $contact['id'], 'url' => $contact['url']]);
$post_delay += $delay;
}