Add more convenient date parsers and some basic macros

This commit is contained in:
Eike Kettner
2021-02-28 16:11:25 +01:00
parent af73b59ec2
commit 9013d9264e
23 changed files with 445 additions and 142 deletions

View File

@ -85,7 +85,11 @@ object NotifyDueItemsTask {
)
res <-
ctx.store
.transact(QItem.findItems(q, 0, Batch.limit(maxItems)).take(maxItems.toLong))
.transact(
QItem
.findItems(q, now.toUtcDate, 0, Batch.limit(maxItems))
.take(maxItems.toLong)
)
.compile
.toVector
} yield res