Skip to content

SwiftDate 4.0.12

Compare
Choose a tag to compare
@malcommac malcommac released this 31 Jan 09:04
· 651 commits to master since this release

Fixes

  • #372 Fix for Local.collatorIdentifier (Returns zh-hans-CN and zh-hant-CN)
  • #374 DateZeroBehavior options are now public outside the library

New Features

  • #379 Added Hebrew translation (thanks to @ilandbt)
  • #376 Added Swedish translation (thanks to @traneHead)
  • #381 Replaced useImminentInterval in DateInRegionFormatter with a configurable value called imminentInterval. With a default value of 5 it fallback to just now version. If nil fallback is disabled.
  • #380 DateInRegionFormatter is now able to load custom localization both from LocaleName and custom .strings files (just set the formatter.localization = Localization(path: [PATH_TO_YOUR_STRINGS_FILE])