Skip to content

Releases: kkla320/ISO8601DurationFormatter

2.0.0

08 Aug 10:50
f123074
Compare
Choose a tag to compare

Release 2.0.0

  • Added a new init for DateComponents @ScottSymes-ANZ
  • Changed ISO8601DurationFormatter.dateComponents(from string: String) to throw an error, if the input could not be parsed @ScottSymes-ANZ
  • Added ISO8601DurationFormatter.string(from dateComponents: DateComponents) to complete the implementation of Formatter @ScottSymes-ANZ
  • Added the possibility to parse negative durations according to ISO8601-2:2019 @ScottSymes-ANZ
  • Added the possibility to omit zero or nil properties from DateComponents, so they won't be included in the resulting string @ScottSymes-ANZ

v1.2.1

29 Dec 15:18
Compare
Choose a tag to compare

1.2.0

26 Aug 20:20
Compare
Choose a tag to compare
v1.2.0

1.1.0

01 Apr 07:18
Compare
Choose a tag to compare
  • Added functionality to convert DateComponent to String
    let dateComponents = DateComponents(year: 6, 
                                        month: 2, 
                                        day: 2, 
                                        hour: 4, 
                                        minute: 44, 
                                        second: 22, 
                                        weekOfYear: 2)

    let ISO8601DurationString = dateComponents.toISO8601Duration()
    print(ISO8601DurationString) // P6Y2M2W2DT4H44M22S

v1.0.1

31 Mar 11:40
Compare
Choose a tag to compare
Merge branch 'release/v1.0.1'

First release for production based on Prelease2

30 Mar 08:22
Compare
Choose a tag to compare
v1.0.0

Merge remote-tracking branch 'refs/remotes/origin/master'

Prerelease 2

31 Mar 11:03
Compare
Choose a tag to compare
Prerelease 2 Pre-release
Pre-release
v0.2-alpha

Merge remote-tracking branch 'refs/remotes/origin/master'

Prerelease

31 Mar 11:02
aefc1ba
Compare
Choose a tag to compare
Prerelease Pre-release
Pre-release
v0.1-alpha

Create LICENSE