Not using deprecated method anymore
This commit is contained in:
parent
5bd83b1c3a
commit
2eaf33a25f
|
@ -48,7 +48,7 @@ fun LocalDate.Companion.nowAt(timeZone: String): LocalDate {
|
||||||
|
|
||||||
@JsName("nowAtForDate")
|
@JsName("nowAtForDate")
|
||||||
fun LocalDate.Companion.nowAt(timeZone: TimeZone): LocalDate {
|
fun LocalDate.Companion.nowAt(timeZone: TimeZone): LocalDate {
|
||||||
return Clock.System.todayAt(timeZone)
|
return Clock.System.todayIn(timeZone)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue