Skip to content

SwiftDate 6.1.0 - (Swift 5.x+)

Compare
Choose a tag to compare
@malcommac malcommac released this 14 Sep 14:24
· 86 commits to master since this release

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).