-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from mike-n-jordan/fix_js_build_for_clock
Fix preparing timezones for date library.
- Loading branch information
Showing
6 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
shared/src/androidMain/kotlin/com/bumble/livemosaic/participant/prepareTimeZones.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.bumble.livemosaic.participant | ||
|
||
actual fun prepareTimeZones() { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
shared/src/commonMain/kotlin/com/bumble/livemosaic/participant/PrepareTimeZones.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package com.bumble.livemosaic.participant | ||
|
||
expect fun prepareTimeZones() |
4 changes: 4 additions & 0 deletions
4
shared/src/desktopMain/kotlin/com/bumble/livemosaic/participant/prepareTimeZones.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.bumble.livemosaic.participant | ||
|
||
actual fun prepareTimeZones() { | ||
} |
10 changes: 10 additions & 0 deletions
10
shared/src/jsMain/kotlin/com/bumble/livemosaic/participant/prepareTimeZones.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.bumble.livemosaic.participant | ||
|
||
@JsModule("@js-joda/timezone") | ||
@JsNonModule | ||
external object JsJodaTimeZoneModule | ||
|
||
private val jsJodaTz = JsJodaTimeZoneModule | ||
actual fun prepareTimeZones() { | ||
jsJodaTz | ||
} |