Use defaultTimeZone instead of localTimeZone
This commit is contained in:
parent
b74c78668d
commit
b47c17b617
|
|
@ -158,7 +158,7 @@ typedef NS_ENUM(NSUInteger, FSCalendarOrientation) {
|
|||
_formatter = [[NSDateFormatter alloc] init];
|
||||
_formatter.dateFormat = @"yyyy-MM-dd";
|
||||
_locale = [NSLocale currentLocale];
|
||||
_timeZone = [NSTimeZone localTimeZone];
|
||||
_timeZone = [NSTimeZone defaultTimeZone];
|
||||
_firstWeekday = 1;
|
||||
[self invalidateDateTools];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue