mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Add more convenient date parsers and some basic macros
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user