mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2025-10-26 09:00:09 +00:00
add note about offsets
This commit is contained in:
@@ -29,4 +29,6 @@ suspend fun KronScheduler.next(relatively: DateTimeTz) = if (this is KronSchedul
|
||||
this.next(relatively)
|
||||
} else {
|
||||
this.next(relatively.local) ?.toOffsetUnadjusted(relatively.offset)
|
||||
}
|
||||
}
|
||||
|
||||
suspend fun KronScheduler.nextTimeZoned() = next(DateTime.now().local)
|
||||
Reference in New Issue
Block a user