All Versions
11
Latest Version
Avg Release Cycle
36 days
Latest Release
166 days ago

Changelog History
Page 1

  • v6.1.0

    September 14, 2019

    🚀 Released on: 2019-09-13

    🔄 CHANGES

    • 🛠 #682 - [FIX] Fixed Japanese relative datetime formatting.
    • 🛠 #693 - [FIX] Fixed wrong result when subtracting DateInRegion dates.
    • #676 - [NEW] Added difference() and differences() methods to get the difference between two dates expressed in variuous time components with respect to the other date as a positive integer.
    • #676 - [NEW] Added dateAt(dayOfMonth:monthNumber:yearNumber:) method to returns the date on the given day of month preserving smaller components.
    • #676 - [NEW] Added dateAfter(weeks:on:) method to returns the date after given number of weeks on the given day of week.
    • #676 - [NEW] Added next(:withWeekOfMonth:andMonthNumber:) method to returns next date with the given weekday and the given week number.
    • #676 - [NEW] Added next(dayOfMonth:monthOfYear:) method to returns the next day of month preserving smaller components (hour, minute, seconds).
  • v6.0.3

    May 11, 2019

    Released on: 2019-05-12

    🔄 CHANGES

    • 📜 #670 [FIX] FixedtoISODate() which ignores explicitly passed Region instance. Now if region is passed it overrides any parsed timezone from ISO source string.
    • 🛠 #668 [FIX] Fixed missing zero padding with toClock() on the first digit.
    • 🐧 #652 [FIX] Resolved slow compiling times: moved RelativeFormatter's languages files to json. This currently breaks Linux compatibility because SPM does not support bundled resources.
    • #666 [NEW] Added dateAt(weekdayOrdinal:weekday:monthNumber:yearNumber:) nextWeekday() to both Date and DateInRegion
  • v6.0.2

    April 16, 2019

    Released on: 2019-04-16

    🔄 Changes

    • 🛠 #656 Fixed for ISOFormatter options withoutTZSeparators which produces empty string results if not paired with withInternetDateTimeExtended
    • #653 TimeInterval.ComponentsFormatterOptions reverted to public visibility
    • 👍 #635 Better handling for language fallback in relative date formatter
    • 🐧 #654 Fixed an issue when compiling library on Linux using round function (glib/darwin)
    • #658 Fixed httpFormat format which are not valid for Unicode Technical Reference #35
  • v6.0.1

    March 28, 2019

    Released on: 2019-03-28

    🔄 Changes

    • 💅 #650 Fixes for RelativeFormatter.Style visibility outside the library
  • v6.0.0

    March 27, 2019

    Released on: 2019-03-27

    🔄 Changes

    • #648 Swift 5 / Xcode 10.2 Compatibility
    • 📜 #642 Wrong toISO() output parsing date string from non Gregorian calendars
    • 📜 #643 Parsing ISO-8601 formatted week dates fails
    • 👍 #646 Relative date formatting never returns the "previous" value (now supports past/future/current)
    • #638 Added RoundingStrategy for RelativeFormatter.Gradation.Rule
    • #647 HTTP Header formatter fix
  • v5.1.0

    January 20, 2019

    Released on: 2019-01-20

    🔄 Changelog

    • 📚 #622 Added enumeration methods to get dates for a specified weekday in a date range (see 3.12 section in documentation)
    • 🚚 #634 Added Month and Year structures with circular operation support (ie. you can remove two days from monday and you got saturday or add two months to november to get january). All of these structures along with Weekday support localized display of the represented value.
    • 🛠 #623 Fixed ambiguos operator error when subtracting a Date with TimeInterval
    • 🛠 #626 Fixed ISO 8601 output when current calendar is not Gregorian
    • #627 Added Asia/Saigon in Zones enumeration
    • 🛠 #631 Fixed RealtiveFormtter's toRelative() methods when no quantifier is available
    • 🛠 #629 Fixed heuristic date guessing inside the formatter which prevents discovering wrong date
    • 🖨 #628 Fixed ISO8601 output when printing date along with complete time
    • 🛠 #619 Fixed a bug with isInRange where orEqual parameter is not passed correctly
    • ♻️ #610 Refactoring to remove un-necessary self
  • v5.0.13

    October 28, 2018

    Released on: 2018-10-28

    🔄 Changes

    • 🗄 #555 Deprecated toString() of TimeInterval/Double to use toIntervalString() (in order to avoid ambiguity)
    • 🚚 #611 Removed arc4random_uniform to use new Swift 4.2 random APIs
    • 📚 #568 Add Linux support to SwiftDate (see notices on documentation)
  • v5.0.12

    October 26, 2018

    Released on: 2018-10-26

    🔄 Changes

    • #521 weekdayName(), eraName(), quarterName() allows to specify locale overwrite to region's locale
    • ♻️ #596 Refactoring for hashValue in DateInRegion, fixed compiler error on watchOS target
    • #598 Silenced Xcode 'Conversion to Swift 4.2 is available' warning
    • 🛠 #608 Fixed crash when using quarterName(.short) with a Date in 4th quarter of the year
  • v5.0.11

    October 26, 2018

    Released on: 2018-10-26

    🔄 Changes

    • #597 Differences between two dates as DateComponents via componentsSince() method in DateInRegion
    • #602 Crash in RelativeFormatter when gradation was not found
    • #606 Added ms parameter to dateBySet() function to alter the milliseconds value of a date
    • 🛠 #607 Fixed ambiguity for toDate(_:region:) with multiple formats bug
    • #609 isInRange ignores granularity parameter when used with plain Date
  • v5.0.10

    October 13, 2018

    Released on: 2018-10-08

    🔄 Changes:

    • 👍 #594 Support for arm64_32 architecture in Xcode 10 for Carthage