Skip to content

SwiftDate 5.1.0 (Swift 4.0+)

Compare
Choose a tag to compare
@malcommac malcommac released this 20 Jan 12:58
· 200 commits to master since this release

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