Use defaultTimeZone instead of localTimeZone

This commit is contained in:
Ted Whang 2017-12-29 16:13:09 -08:00
parent b74c78668d
commit b47c17b617
1 changed files with 1 additions and 1 deletions

View File

@ -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];