You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Swift 1.2 we had a parameter in toString method to enable doesRelativeDateFormatting flag in NSDateFormatter. That parameter is now gone and there's only one method to enable it:
However this method forces dateStyle and timeStyle and create a new NSDateFormatter on each call. In addition. NSDateFormatter.cachedFormatter() is declared internal, so no other DateInRegion extensions can use it.
The text was updated successfully, but these errors were encountered:
In Swift 1.2 we had a parameter in
toString
method to enabledoesRelativeDateFormatting
flag inNSDateFormatter
. That parameter is now gone and there's only one method to enable it:However this method forces
dateStyle
andtimeStyle
and create a newNSDateFormatter
on each call. In addition.NSDateFormatter.cachedFormatter()
is declaredinternal
, so no otherDateInRegion
extensions can use it.The text was updated successfully, but these errors were encountered: