File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -486,14 +486,15 @@ dependencies {
486486
487487By default, there's only one time zone available in Kotlin/JS: the ` SYSTEM ` time zone with a fixed offset.
488488
489- If you want to use all time zones in Kotlin/JS platform, you need to add the following npm dependency:
489+ If you want to use all time zones in Kotlin/JS platform, you need to add the following npm dependency
490+ (replace X.X.X below with the latest version [ from here] ( https://www.npmjs.com/package/@js-joda/timezone?activeTab=versions ) ):
490491
491492``` kotlin
492493kotlin {
493494 sourceSets {
494495 val jsMain by getting {
495496 dependencies {
496- implementation(npm(" @js-joda/timezone" , " 2.3.0 " ))
497+ implementation(npm(" @js-joda/timezone" , " X.X.X " ))
497498 }
498499 }
499500 }
@@ -516,14 +517,15 @@ val jsJodaTz = JsJodaTimeZoneModule
516517
517518Wasm/JS uses the same time zone support as JS, so almost the same instructions apply.
518519
519- In your Gradle build script, add the following dependency:
520+ In your Gradle build script, add the following dependency
521+ (replace X.X.X below with the latest version [ from here] ( https://www.npmjs.com/package/@js-joda/timezone?activeTab=versions ) ):
520522
521523``` kotlin
522524kotlin {
523525 sourceSets {
524526 val wasmJsMain by getting {
525527 dependencies {
526- implementation(npm(" @js-joda/timezone" , " 2.3.0 " ))
528+ implementation(npm(" @js-joda/timezone" , " X.X.X " ))
527529 }
528530 }
529531 }
You can’t perform that action at this time.
0 commit comments