Comments (3)
A similar issue was filed and marked as fixed in 1.8 here, but seems to be regressed: https://youtrack.jetbrains.com/issue/KT-45789
from kotlinx-datetime.
For me I got unsupported zoneid
error on wasm compose-multiplatform with kotlinx-datetime v0.5.0.
I'm able to fix the issue by adding low config to gradle source set
val wasmJsMain by getting {
dependencies {
implementation(npm("@js-joda/timezone", "2.18.2"))
}
}
And adding below code to composeApp/src/wasmJsMain/kotlin/main.kt
@JsModule("@js-joda/timezone")
external object JsJodaTimeZoneModule
from kotlinx-datetime.
@lindenquan, that's different: kotlinx-datetime
explicitly doesn't depend on js-joda/timezone
, and you have to add the dependency yourself, but kotlinx-datetime
does depend on js-joda/core
, so it shouldn't be required to add a dependency explicitly.
from kotlinx-datetime.
Related Issues (20)
- Is there a recommendation for how to use the various type with hibernate in a Spring Boot Project? HOT 1
- Consider removing `String.toLocalDate()`, `String.toInstant()`, etc. HOT 1
- Not compliant with ISO-8601 HOT 1
- GMT HOT 1
- API reference improvements HOT 1
- Consider adding parsing and formatting support for `kotlin.time.Duration`
- Provide custom formats for `DateTimePeriod`
- Introduce serializers corresponding to custom formats HOT 3
- Fix the ISO serializers omitting seconds when zero and emitting fractional parts in groups of three signs HOT 4
- Locale-aware formatting (but not parsing)
- Publish the design documents for datetime formats
- Update Kotlin version HOT 3
- ABI incompatible change on `kotlinx.datetime/LocalDateTime.Companion.parse` function in 0.6.0 release HOT 2
- Failed requirement on strange time zone HOT 1
- Potential improvements and input preservation in parsing and formatting error messages HOT 1
- Feature: building instant from DateTimeComponents HOT 8
- Feature: optional padding HOT 3
- InstantRange HOT 1
- Instant.parse(..) inconsistent between jvm and ios targets HOT 2
- Consider removing `Clock.asTimeSource` HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlinx-datetime.