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
Changing to "weekOfYear" seems to have fixed things, but a nice check would be good to have in place to cover all bases and have a more reliable backwards compatibility.
The text was updated successfully, but these errors were encountered:
toRelativeString returns an unexpected value on devices running iOS 8+
This seems to be the offending line:
This is likely due to the deprecation of the "week" property for NSDateComponents.
https://developer.apple.com/library/prerelease/ios/documentation/Cocoa/Reference/Foundation/Classes/NSDateComponents_Class/index.html
Changing to "weekOfYear" seems to have fixed things, but a nice check would be good to have in place to cover all bases and have a more reliable backwards compatibility.
The text was updated successfully, but these errors were encountered: