kotlinx-datetime icon indicating copy to clipboard operation
kotlinx-datetime copied to clipboard

KotlinX multiplatform date/time library

Results 147 kotlinx-datetime issues
Sort by recently updated
recently updated
newest added

* Default serializers are separated from the ISO serializers, which now mirror the behavior of `Formats.ISO` instead of `toString`/`parse`. * New API: custom serializers parameterized with a `DateTimeFormat`. * Serial...

[SerialDescriptor](https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization.descriptors/-serial-descriptor/) must have a unique name, but we use one name per library entity, even when there are multiple serializers.

bug
breaking change

I need to parse / construct a Julian date, which requires the day of year value. It would fall in nicely with the dayOfMonth and dayOfWeek values. :-) Or, is...

formatters

Implement parsing and formatting of ISO strings for instant values separately from the rest of the library. A stage of fixing #382 This is a draft PR because we probably...

I am trying to convert the following Java 8 Desugar DateTime. ``` val currentDate = LocalDateTime.now().atOffset(ZoneOffset.UTC) val currentDateInMilli = currentDate.toInstant().toEpochMilli() val oldestDateInMilli = currentDate.minusYears(currentDate.year - 2009L).toInstant().toEpochMilli() val previousMonthInMilli = currentDate.minusMonths(1).toInstant().toEpochMilli()...

Fixes https://github.com/Kotlin/kotlinx-datetime/issues/372

Turns out, a roundtrip in the near times only loses 0.5 microseconds of precision, whereas at the far ends of the supported range, we lose 10 microseconds. It is a...

Create a giant local date on a JVM server: ```kotlin java.time.LocalDate.MAX.toKotlinLocalDate() ``` Send it over the network to a Native client. Parsing this date will fail. Why? The reason is...

breaking change