Skip to content

Commit 0b5c15a

Browse files
committed
Publish date should be lt not gt
1 parent 4417edd commit 0b5c15a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jobs/ImportSingleProductJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public function handle()
227227

228228
$entry->date($publishDate);
229229

230-
if (! $published && $publishDate->gt(now())) {
230+
if (! $published && $publishDate->lt(now())) {
231231
$published = true;
232232
}
233233
}

0 commit comments

Comments
 (0)