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

https://gist.github.com/ilma4/a5ad5b5c284969e24f4e2149a2f8b273 lists several bugs and inconsistencies. - [ ] `kotlinx.datetime.LocalDate.parse(s) vs LocalDate.Formats.ISO.parse(s)` (and the same for `LocalDateTime`): Java's facilities don't support having too many leading zeroes, but our parsing mechanism...

formatters

I have this piece of code to handle a Long date (20241016153100) to an ISO8106 date, it works for most of the cases, but if `tz` is UTC, the `id`...

formatters

Running the following code: ```kotlin logTzDst(TimeZone.of("America/Los_Angeles")) logTzDst(TimeZone.of("America/Denver")) logTzDst(TimeZone.of("America/Chicago")) logTzDst(TimeZone.of("America/New_York")) private fun logTzDst(timeZone: TimeZone) { println(timeZone) var last: String? = null for (y in 2024 downTo 1900) { val date =...

It doesn't seem idiomatic. `of` is just visual noise that doesn't tell anything about what argument to expect. It's unclear right now what it should be called instead: it's a...

timezone

From https://wiki.debian.org/TimeZoneChanges: > In Debian releases Sarge (3.1) and earlier, /etc/localtime was a symbolic link. It was changed to a regular file (a copy of a /usr/share/zoneinfo/ file) in Etch...

The `Duration` class in the standard library provides everything you need to analyze its state: - `isNegative` - `isPositive` - a `ZERO` instance Those things are missing in the `DateTimePeriod`...

waiting for clarification

## Summary This PR addresses issue #485 by leveraging Apple’s native Foundation time zone data if tzdb is not available. The goal is to make time zone computations work correctly...

bug
timezone