Marc Knaup

Results 65 comments of Marc Knaup
trafficstars

@ashleyoldershaw I've never checked. Once I've found and fixed the cause of the error I didn't run into it again. But given that so much time has passed it would...

Workaround no longer worked for me in Kotlin 1.6.20 (IR compiler). This works: ```kt @JsModule("@js-joda/timezone") @JsNonModule private external object JsJodaTimeZoneModule @EagerInitialization @OptIn(ExperimentalStdlibApi::class) @Suppress("unused") private val init = JsJodaTimeZoneModule ```

Might have been because the respective module is loaded dynamically in my project.

Also, it only happened when deploying the final build including Webpack & terser optimizations. The library was then optimized away.

Unfortunately I've got no time for additional tests here

With Kotlin 1.5 it became super annoying and really needs to be changed. ![image](https://user-images.githubusercontent.com/85242/119516199-bee49300-bda0-11eb-9b24-c0698a72f315.png)

User input directly from form fields. On Thu, Jun 3, 2021, 12:24 dkhalanskyjb ***@***.***> wrote: > orNull variants of TimeZone.of or Something.parse probably make sense and > follow the spirit...

>Wouldn't one want the users to know what field did they make a mistake in? null does not say much, so custom logic would be needed anyway to show a...

That property `dayOfMonth` should probably also simply be called `day`. Kotlin tries to be pragmatic for the majority of use cases. The vast majority when working with dates is using...

Btw, the compiler makes things more confusing. I've provided year, month and day all as `Int` and with **natural names**. The compiler complains that I have to provide three `Int`s....