Skip to content

Commit 51fee12

Browse files
committed
bug #131 Bugfix with time (Nyholm)
This PR was merged into the master branch. Discussion ---------- Bugfix with time Classic... Commits ------- d30c72b Bugfix with time
2 parents 0e8a6f7 + d30c72b commit 51fee12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Repository/TaskRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function __construct(ManagerRegistry $registry)
2222
public function getTasksToVerify(int $limit): array
2323
{
2424
return $this->createQueryBuilder('t')
25-
->andWhere('t.verifyAfter > :now')
25+
->andWhere('t.verifyAfter <= :now')
2626
->orderBy('t.updatedAt', 'ASC') // Yes, sort this the wrong way.
2727
->setMaxResults($limit)
2828
->setParameter('now', new \DateTimeImmutable())

0 commit comments

Comments
 (0)