diff --git a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateExtensions.kt b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateExtensions.kt index bb881763..e4618286 100644 --- a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateExtensions.kt +++ b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateExtensions.kt @@ -12,7 +12,7 @@ fun LocalDate.Companion.todayAtSystemDefaultTimeZone(): LocalDate { } fun LocalDate.Companion.todayAtEuropeBerlin(): LocalDate { - return nowAt(TimeZone.europeBerlin) + return nowAt(TimeZone.EuropeBerlin) } @JsName("nowAtForDate") diff --git a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateTimeExtensions.kt b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateTimeExtensions.kt index 2fa44078..742be4b1 100644 --- a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateTimeExtensions.kt +++ b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/LocalDateTimeExtensions.kt @@ -9,7 +9,7 @@ fun LocalDateTime.Companion.nowAtUtc(): LocalDateTime { } fun LocalDateTime.Companion.nowAtEuropeBerlin(): LocalDateTime { - return nowAt(TimeZone.europeBerlin) + return nowAt(TimeZone.EuropeBerlin) } fun LocalDateTime.Companion.nowAt(timeZone: TimeZone): LocalDateTime { diff --git a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/TimeZoneExtensions.kt b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/TimeZoneExtensions.kt index e468eb02..aa073d2b 100644 --- a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/TimeZoneExtensions.kt +++ b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/extensions/TimeZoneExtensions.kt @@ -3,5 +3,5 @@ package net.codinux.banking.fints.extensions import kotlinx.datetime.TimeZone -val TimeZone.Companion.europeBerlin: TimeZone +val TimeZone.Companion.EuropeBerlin: TimeZone get() = TimeZone.of("Europe/Berlin") \ No newline at end of file