This is a great explanation repo. Just needed a bit of updating!
BTW, I believe 2 tests are failing because of the deprecation of NSCalendarUnit.YearCalendarUnit, which I replaced with NSCalendarUnit.WeekOfYear. Also, replaced .week() with .weekOfYear for date components.
This is a great explanation repo. Just needed a bit of updating!
BTW, I believe 2 tests are failing because of the deprecation of
NSCalendarUnit.YearCalendarUnit
, which I replaced withNSCalendarUnit.WeekOfYear
. Also, replaced.week()
with.weekOfYear
for date components.Please review! Thanks