SwiftDate

🐔 Toolkit to parse, validate, manipulate, compare and display dates, time & timezones in Swift.

MIT License

Stars
7.6K
Committers
133

Bot releases are hidden (Show)

SwiftDate - SwiftDate 4.0.6

Published by malcommac about 8 years ago

  • #303 Date.defaultRegion() is now set to Region.Local() as specified in doc (not Region.GMT())
  • #302 Fixed an issue with colloquial dates and future dates; also fixed an issue when reporting colloquial differences expressed in weeks
  • #301 Add .locale property in ISO8601DateTimeFormatter
SwiftDate - SwiftDate 4.0.5

Published by malcommac about 8 years ago

  • #284 Fixed a crash with .colloquial() function and # weeks evaluation
  • #287 Added Simplified Chinese translation (thanks to @codingrhythm)
  • #288 Added Indonesian translation (thanks to @suprie)
  • #286 Added French translation (thanks to @pierrolivier)
  • #293 Added .withInternetDateTimeExtended as options of ISO8601DateTimeFormatter
  • #292 .setDefaultRegion and .defaultRegion are now static func/prop of the Date object
SwiftDate -

Published by malcommac about 8 years ago

SwiftDate - SwiftDate 4.0.4

Published by malcommac about 8 years ago

  • #277: Remove throws from Date.add(components:) in Date+Math.swift
  • #276: Remove Development team from framework
SwiftDate - SwiftDate 4.0.3

Published by malcommac about 8 years ago

  • #271: Added fallback to english translation when required translation is not available for colloquial functions
  • #112: Fixed an issue when optimization level is -fast
  • #269: Fixed unnecessary strings printed in console when using .timeComponents() function
  • #266: Removed unnecessary Region.copy() function
  • #267: .absoluteDate is now a public property for DateInRegion
  • #268: Added new german translation to SwiftDate.bundle
  • #272: Failed to calculate a colloquial date when diff in seconds = 0. It throw a .FailedToCalculate exception.
  • #274: Fixed a bug with padding in Time Components formatter. Now SwiftDate uses DateComponentsFormatter internally; old timeComponents/timeComponentsSinceNow (in Date and DateInRegion) are now deprecated (there are other functions with the same name which takes a ComponentsFormatterOptions struct as input). Also .string() function in TimeInterval is now replaced by a counterpart which take ComponentsFormatterOptions struct.
  • #275: .formatter.useSharedFormatters in DateInRegion is now accessible so, if strictly needed user can user a custom instance of DateTime Formatters per single DateInRegion.
SwiftDate - SwiftDate 4.0.2

Published by malcommac about 8 years ago

This is a minor update.

Changes:

  • Minor fix for cocoapods compatibility (SwiftDate.bundle was not copied)
SwiftDate - SwiftDate 4.0.0

Published by malcommac about 8 years ago

Major rewrite for Swift 3.

SwiftDate - 1.0.9

Published by malcommac over 9 years ago

Minor fixes for add() and set() methods