Skip to content

Releases: melvitax/DateHelper

5.0.1

Choose a tag to compare

@melvitax melvitax released this 11 Jan 16:33

Fixed 'inaccessible due to internal protection level' error.

5.0.0

Choose a tag to compare

@melvitax melvitax released this 07 Jan 21:35

- 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

Choose a tag to compare

@melvitax melvitax released this 11 Nov 17:28
  • Fix startOfYear and endOfYear calculation
  • Updated tvOS minimum to v12
  • Updated package structure to current Apple's recommendations
  • Removed Playground

4.5.3

Choose a tag to compare

@melvitax melvitax released this 05 Apr 21:54
8dfbbea

Updated minimum requirements

4.5.2

Choose a tag to compare

@melvitax melvitax released this 04 Mar 03:07

Included version check for picking the right date formatter.

4.5.1

Choose a tag to compare

@melvitax melvitax released this 03 Mar 19:53

Fixed some spelling errors and updated text in documentation

4.5.0

Choose a tag to compare

@melvitax melvitax released this 02 Mar 19:53

• 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

Choose a tag to compare

@melvitax melvitax released this 02 Oct 13:26

Updated version labels
#98

4.4.0

Choose a tag to compare

@melvitax melvitax released this 02 Oct 01:30

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

Choose a tag to compare

@melvitax melvitax released this 27 Aug 16:56

Swift 5 support