All Versions
9
Latest Version
Avg Release Cycle
-
Latest Release
-

Changelog History

  • v0.4.0 Changes

    • โž• Add the LocalTime class for representing time-of-day (#57). Thank you, @bishiboosh!
    • Provide LocalTime#toSecondOfDay, LocalTime.fromSecondOfDay, and various other functions for compact representation of LocalTime (#204). Thank you, @vanniktech!
    • Provide LocalDate#toEpochDays, LocalDate.fromEpochDays for representing a LocalDate as a single number (#214).
    • ๐Ÿ“‡ Rename Clock.todayAt to Clock.todayIn for naming consistency (#206).
    • โšก๏ธ Update the Kotlin dependency to 1.7.0.
  • v0.3.3 Changes

    • โšก๏ธ Just updated Kotlin dependency to 1.7.0-Beta and kotlinx.serialization to 1.3.2
  • v0.3.2 Changes

    ๐Ÿ”‹ Features

    • โšก๏ธ Update Kotlin dependency to 1.6.0 and remove ExperimentalTime from API involving Duration which became stable (#156)
    • โž• Add an explicit module-info descriptor to JVM variant of the library (#135)
    • kotlinx.datetime.Instant conversions to and from JS Date (#170).
  • v0.3.1 Changes

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed a crash in desugared code on Android when trying to construct time zones with some specific identifiers (149)
  • v0.3.0 Changes

    ๐Ÿ”‹ Features

    • โž• Added iosSimulatorArm64, watchosSimulatorArm64, tvosSimulatorArm64, macosArm64 target support (141, 144).

    ๐Ÿ”„ Changes

    • ๐Ÿ›  ZoneOffset was replaced by two other classes: FixedOffsetTimeZone, which represents a time zone with a fixed offset, and UtcOffset, which represents just the UTC offset (PR#125).
    • The DayBased and MonthBased subclasses of DateTimeUnit.DateBased are now accessed as DateTimeUnit.DayBased and DateTimeUnit.MonthBased as opposed to DateTimeUnit.DateBased.DayBased and DateTimeUnit.DateBased.MonthBased respectively (PR#131).
  • v0.2.1 Changes

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed the library being incompatible with kotlinx.serialization 1.2.0 and above (#118).

    ๐Ÿ”‹ Features

    • ๐Ÿ‘ watchosX64 target support. In practice, this means the ability to run projects that depend on this library in the iOS Simulator for Apple Watch.
  • v0.2.0 Changes

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed TimeZone.currentSystemDefault() crashing on Darwin if the resulting time zone is not listed among TimeZone.knownTimeZoneIdentifiers (#94)

    ๐Ÿ”‹ Features

    • ๐Ÿ‘ kotlinx-serialization support (#37)
    • Normalization of DateTimePeriod components, meaning that periods that are semantically equivalent are considered equal (#81)
    • ๐Ÿ“œ Instant can now be parsed from an ISO-8601 string with an offset other than Z (#56)
  • v0.1.1 Changes

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix a crash when getting the current time on iOS 9 (#52)
    • ๐Ÿ Wrong answers in some cases when adding date-based units to instants on Darwin and Windows (#51)

    ๐Ÿ”‹ Features

    • Zone-agnostic time-based arithmetic on Instants, e.g. Instant.plus(value, DateTimeUnit.TimeBased)
    • โž• Add Instant.fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Int) construction function
    • Introduce minus operations complementary to existing plus arithmetic operations (#42)
  • v0.1.0 Changes

    ๐ŸŽ‰ Initial implementation

    A minimal, but still valuable multiplatform implementation of date and time types.