🐔 Toolkit to parse, validate, manipulate, compare and display dates, time & timezones in Swift.
Released on: 2018-10-28
toString()
of TimeInterval/Double
to use toIntervalString()
(in order to avoid ambiguity)arc4random_uniform
to use new Swift 4.2 random APIsReleased on: 2018-10-26
weekdayName()
, eraName()
, quarterName()
allows to specify locale overwrite to region's localehashValue
in DateInRegion
, fixed compiler error on watchOS targetquarterName(.short)
with a Date in 4th quarter of the yearReleased on: 2018-10-26
DateComponents
via componentsSince()
method in DateInRegion
RelativeFormatter
when gradation was not foundms
parameter to dateBySet()
function to alter the milliseconds value of a datetoDate(_:region:)
with multiple formats bugisInRange
ignores granularity parameter when used with plain Date
Released on: 2018-10-08
Changes:
Released on: 2018-09-18 Swift: 4.x (4.0 and 4.2 supported)
.calendar
and .locale
property to configure ComponentsFormatterOptions
struct to format TimeInterval
values.Manipulate_Date.md
documentation fileDecodable
support for DateInRegion
and compactMap()
function.toRelative()
function does not existsDateInRegion(milliseconds:)
init to work with actual milliseconds valuesComponentsFormatterOptions
object in toString()
of TimeInterval
formatter (in addition to closure version of the same method)Released on: 2017-07-13