SwiftDate Versions Save

🐔 Toolkit to parse, validate, manipulate, compare and display dates, time & timezones in Swift.

5.0.13

5 years ago

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)

5.0.12

5 years ago

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

5.0.11

5 years ago

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

5.0.10

5 years ago

Released on: 2018-10-08

Changes:

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

5.0.9

5 years ago

Released on: 2018-09-18 Swift: 4.x (4.0 and 4.2 supported)

CHANGES

FIXES

  • #592 Added .calendar and .locale property to configure ComponentsFormatterOptions struct to format TimeInterval values.
  • #588 Fixed some links in Documentation files
  • #585 Fixed .quarter property which return always a zero value
  • #586 Fixed ISO8601 parser crash with certain string configurations
  • #583 Fixed broken links in Manipulate_Date.md documentation file
  • #582 Fixed Decodable support for DateInRegion and compactMap() function.
  • #575 Fallback to language when language+region option for toRelative() function does not exists
  • #573 Fixed DateInRegion(milliseconds:) init to work with actual milliseconds values

ADDITIONS

  • #574 Added customization via ComponentsFormatterOptions object in toString() of TimeInterval formatter (in addition to closure version of the same method)

5.0.7

5 years ago

Released on: 08/24/2018

Changes

  • Added toUnit() to TimeInterval to extract single time component from an interval (as companion of toUnits()).
  • Removed calendar argument from toUnit() and toUnits(). Value is taken from reference's date region.calendar

5.0.6

5 years ago

Released on: 08/21/2018

Changes

  • #580 Restoring in() function for DateInRegion/Date/TimeInterval; added isInside() for Date/DateInRegion

5.0.5

5 years ago

Released on: 04/08/2018

Changes

  • #561 Fixed incorrect preWeek and nextWeek calculation

5.0.4

5 years ago

Released on: 18/07/2018

Changes

  • #559 Fixes for Decodable protocol in DateInRegion/Region on Swift 4.2

5.0.3

5 years ago

Released on: 2017-07-13

  • #560 - Build failed 5.0.2 due to SwiftLint superfluous rules