klock v2.0.1 Release Notes

Release Date: 2020-12-03 // 11 months ago

Previous changes from v2.0.0

  • v1.12.1...v2.0.0

    ➕ Additions:

    • ➕ Added Float variant for .milliseconds, .seconds...
    • ➕ Added TimeSpan.nanosecondsInt and TimeSpan.microsecondsInt
    • ➕ Added Ukrainian locale. Thanks to @andriipanasiuk
    • ➕ Added Norwegian and Swedish locales. Thanks to @Dambakk

    💥 Breaking changes:

    • ✂ Removed numeric .hrSeconds, .hrMilliseconds etc. replaced by .hr.seconds
    • 🔄 Changed month and day of week capitalization #147 . Now only English and German locales, capitalize those.
    • 👌 Support ordinals in date format with do. Thanks to @IgnacioCarrionN
    • Date.minus operators. Thanks to @IgnacioCarrionN