diff --git a/multiplatform-utils/src/commonMain/kotlin/net/dankito/utils/multiplatform/extensions/LocalDateExtensions.kt b/multiplatform-utils/src/commonMain/kotlin/net/dankito/utils/multiplatform/extensions/LocalDateExtensions.kt index 94646d3c..3d01a1fd 100644 --- a/multiplatform-utils/src/commonMain/kotlin/net/dankito/utils/multiplatform/extensions/LocalDateExtensions.kt +++ b/multiplatform-utils/src/commonMain/kotlin/net/dankito/utils/multiplatform/extensions/LocalDateExtensions.kt @@ -48,7 +48,7 @@ fun LocalDate.Companion.nowAt(timeZone: String): LocalDate { @JsName("nowAtForDate") fun LocalDate.Companion.nowAt(timeZone: TimeZone): LocalDate { - return Clock.System.todayAt(timeZone) + return Clock.System.todayIn(timeZone) }