mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2026-11-03 01:53:29 +00:00
add note about offsets
This commit is contained in:
1 parent
20f12f3f2d
commit
da88d18d4d
2 files changed
+20
-2
No files matched your search
@@ -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