Skip to content

Releases: malcommac/SwiftDate

SwiftDate 5.0.13

28 Oct 07:56
Compare
Choose a tag to compare

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)

SwiftDate 5.0.12

26 Oct 19:19
Compare
Choose a tag to compare

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

SwiftDate 5.0.11

26 Oct 15:01
Compare
Choose a tag to compare

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

SwiftDate 5.0.10

13 Oct 12:07
Compare
Choose a tag to compare

Released on: 2018-10-08

Changes:

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

SwiftDate 5.0.9 (Swift 4.2+)

18 Sep 21:29
Compare
Choose a tag to compare

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)

SwiftDate 5.0.7

24 Aug 09:08
Compare
Choose a tag to compare

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

SwiftDate 5.0.6

21 Aug 15:40
Compare
Choose a tag to compare

Released on: 08/21/2018

Changes

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

SwiftDate 5.0.5

03 Aug 16:06
Compare
Choose a tag to compare

Released on: 04/08/2018

Changes

  • #561 Fixed incorrect preWeek and nextWeek calculation

SwiftDate 5.0.4

18 Jul 07:40
Compare
Choose a tag to compare

Released on: 18/07/2018

Changes

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

SwiftDate 5.0.3

13 Jul 07:40
Compare
Choose a tag to compare

Released on: 2017-07-13

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