diff --git a/AFDateHelper/AFDateExtension.swift b/AFDateHelper/AFDateExtension.swift index 48b161f..fa3ad74 100644 --- a/AFDateHelper/AFDateExtension.swift +++ b/AFDateHelper/AFDateExtension.swift @@ -449,7 +449,7 @@ public extension NSDate { { let flags :NSCalendarUnit = NSCalendarUnit.CalendarUnitYear | NSCalendarUnit.CalendarUnitMonth | NSCalendarUnit.CalendarUnitWeekOfYear | NSCalendarUnit.CalendarUnitWeekday var components = NSCalendar.currentCalendar().components(flags, fromDate: self) - components.weekday = NSCalendar.currentCalendar().firstWeekday + 7 + components.weekday = NSCalendar.currentCalendar().firstWeekday + 6 components.hour = 0 components.minute = 0 components.second = 0