DateHelper

A Swift Date extension helper

MIT License

Stars
1.5K
Committers
37

Bot releases are visible (Hide)

DateHelper - 5.0.1 Latest Release

Published by melvitax almost 3 years ago

Fixed 'inaccessible due to internal protection level' error.

DateHelper - 5.0.0

Published by melvitax almost 3 years ago

- 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
DateHelper - 4.5.4

Published by melvitax almost 3 years ago

  • Fix startOfYear and endOfYear calculation
  • Updated tvOS minimum to v12
  • Updated package structure to current Apple's recommendations
  • Removed Playground
DateHelper - 4.5.3

Published by melvitax over 3 years ago

Updated minimum requirements

DateHelper - 4.5.2

Published by melvitax over 3 years ago

Included version check for picking the right date formatter.

DateHelper - 4.5.1

Published by melvitax over 3 years ago

Fixed some spelling errors and updated text in documentation

DateHelper - 4.5.0

Published by melvitax over 3 years ago

• 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

DateHelper - 4.4.1

Published by melvitax about 4 years ago

DateHelper - 4.4.0

Published by melvitax about 4 years ago

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)

DateHelper - 4.3.0

Published by melvitax about 5 years ago

Swift 5 support

DateHelper - 4.2.8

Published by melvitax about 6 years ago

• DateFormatType is now Equatable
• Added "default" option to TimeZoneType
• Added Custom time zone

DateHelper - 4.2.7

Published by melvitax almost 7 years ago

• Fixed Swift version issue with range(at: and rangeAt(
• A week can now start on Monday instead of Sunday

DateHelper - 4.2.6

Published by melvitax almost 7 years ago

Added isLenient flag to formatter as a possible fix to nil initiators when using a daylight savings change date

DateHelper - 4.2.5

Published by melvitax about 7 years ago

Swift 4 support
Fixed cocoa pods warning issue https://github.com/melvitax/DateHelper/issues/68

DateHelper - 4.2.4

Published by melvitax about 7 years ago

Ensure we return cache formatter without copying its value

DateHelper - 4.2.3

Published by melvitax about 7 years ago

DateHelper - 4.2.2

Published by melvitax over 7 years ago

Fixed cocoapods issues and bumped up requirements to IOS9.

DateHelper - 4.2.1

Published by melvitax over 7 years ago

Updated pod spec

DateHelper - 4.2.0

Published by melvitax over 7 years ago

Added macOS support and ordinal day string.

DateHelper - 4.1.2

Published by melvitax over 7 years ago

Fixed toString with style month calculation.