Bot releases are hidden (Show)
Released on 2022-09-12
RelativeTimeFormatter
and replaced with built-in system classThis version require at least Swift 5.5, iOS 13+, macOS 10.15+, watchOS 6+, tvOS 13+.
Published by malcommac almost 4 years ago
Released on 2020-11-22
Published by malcommac almost 4 years ago
Released on: 2020-11-16
.dateMixed
format options to toString()
method to format dateTime with differing date and time styles..automatic
, .static
and .dynamic
linking support in order to share same package between multiple targets..asLocale()
to String
object to transform identifier in an NSLocale objectS.sharedOrdinalNumberFormatter
.Published by malcommac about 4 years ago
Released on: 2020-09-16
Published by malcommac about 5 years ago
Released on: 2019-09-13
DateInRegion
dates.difference()
and differences()
methods to get the difference between two dates expressed in variuous time components with respect to the other date as a positive integer.dateAt(dayOfMonth:monthNumber:yearNumber:)
method to returns the date on the given day of month preserving smaller components.dateAfter(weeks:on:)
method to returns the date after given number of weeks on the given day of week.next(:withWeekOfMonth:andMonthNumber:)
method to returns next date with the given weekday and the given week number.next(dayOfMonth:monthOfYear:)
method to returns the next day of month preserving smaller components (hour, minute, seconds).Published by malcommac over 5 years ago
Released on: 2019-05-12
toISODate()
which ignores explicitly passed Region
instance. Now if region is passed it overrides any parsed timezone from ISO source string.toClock()
on the first digit.RelativeFormatter
's languages files to json. This currently breaks Linux compatibility because SPM does not support bundled resources.dateAt(weekdayOrdinal:weekday:monthNumber:yearNumber:)
nextWeekday()
to both Date and DateInRegionPublished by malcommac over 5 years ago
Released on: 2019-04-16
ISOFormatter
options withoutTZSeparators
which produces empty string results if not paired with withInternetDateTimeExtended
TimeInterval.ComponentsFormatterOptions
reverted to public visibilityround
function (glib/darwin)httpFormat
format which are not valid for Unicode Technical Reference #35
Published by malcommac over 5 years ago
Released on: 2019-03-28
RelativeFormatter.Style
visibility outside the libraryPublished by malcommac over 5 years ago
Released on: 2019-03-27
toISO()
output parsing date string from non Gregorian calendarsRoundingStrategy
for RelativeFormatter.Gradation.Rule
Published by malcommac over 5 years ago
Released on: 2019-01-20
Month
and Year
structures with circular operation support (ie. you can remove two days from monday
and you got saturday
or add two months to november
to get january
). All of these structures along with Weekday
support localized display of the represented value.Date
with TimeInterval
Asia/Saigon
in Zones
enumerationtoRelative()
methods when no quantifier is availableisInRange
where orEqual
parameter is not passed correctlyself
Published by malcommac almost 6 years ago
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 APIsPublished by malcommac almost 6 years ago
Released 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 yearPublished by malcommac almost 6 years ago
Released 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
Published by malcommac about 6 years ago
Released on: 2018-10-08
Changes:
Published by malcommac about 6 years ago
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)Published by malcommac about 6 years ago
Released on: 08/24/2018
toUnit()
to TimeInterval
to extract single time component from an interval (as companion of toUnits()
).calendar
argument from toUnit()
and toUnits()
. Value is taken from reference's date region.calendar
Published by malcommac about 6 years ago
Released on: 08/21/2018
Published by malcommac about 6 years ago
Released on: 04/08/2018
preWeek
and nextWeek
calculationPublished by malcommac over 6 years ago
Released on: 18/07/2018
Published by malcommac over 6 years ago
Released on: 2017-07-13