Skip to content

Releases: melvitax/DateHelper

5.0.1

11 Jan 16:33
Compare
Choose a tag to compare

Fixed 'inaccessible due to internal protection level' error.

5.0.0

07 Jan 21:35
Compare
Choose a tag to compare

- Removed all force unwraps in favor of optionals

  • Added Tests
  • isoDateTime now includes seconds
  • Removed isoDateTimeSec
  • Renamed isoDateTimeMilliSec isoDateTimeFull
  • Lintify
  • Swift linting
  • nthWeekday is now weekdayOrdinal
  • adjust(_ component:, offset:) is now offset(_ component:, value:)
  • dateFor(_ type:) is now adjust(for:)
  • File structure now follows the updated Apple recommendations for packages

4.5.4

11 Nov 17:28
Compare
Choose a tag to compare
  • Fix startOfYear and endOfYear calculation
  • Updated tvOS minimum to v12
  • Updated package structure to current Apple's recommendations
  • Removed Playground

4.5.3

05 Apr 21:54
8dfbbea
Compare
Choose a tag to compare

Updated minimum requirements

4.5.2

04 Mar 03:07
Compare
Choose a tag to compare

Included version check for picking the right date formatter.

4.5.1

03 Mar 19:53
Compare
Choose a tag to compare

Fixed some spelling errors and updated text in documentation

4.5.0

02 Mar 19:53
Compare
Choose a tag to compare

• Fixed toString(format: .isoYear) displaying empty string
• Added startOfYear and endOfYear to dateFor()
• Added ISOFormatter to concurrent cache
• Removed CocoaPods support
• Fixed .endOfWeek when .startOfWeek has been modified

4.4.1

02 Oct 13:26
Compare
Choose a tag to compare

Updated version labels
#98

4.4.0

02 Oct 01:30
Compare
Choose a tag to compare

Add Date(detectFromString:String)? - uses data detector and grabs the first date detected.
Add toRelativeTime() to Date extension (#95)
Fix the 12 hour format based on current Locale (#96)

4.3.0

27 Aug 16:56
Compare
Choose a tag to compare

Swift 5 support