For example string "2017-02-17 00:30:00" and format "yyyy-MM-dd HH:mm:ss"
Buddhist Calendar device will be:
1474-02-16 17:47:56 +0000
Gregorian Calendar device will be:
2017-02-16 17:30:00 +0000
The fix can be either way of set calendar to self.implicitCalendar for parser in
- (NSDate *)dateWithString:(NSString *)dateString formatString:(NSString *)formatString timeZone:(NSTimeZone *)timeZone
or add calendar in parameter in above function
For example string "2017-02-17 00:30:00" and format "yyyy-MM-dd HH:mm:ss"
Buddhist Calendar device will be:
1474-02-16 17:47:56 +0000
Gregorian Calendar device will be:
2017-02-16 17:30:00 +0000
The fix can be either way of set calendar to self.implicitCalendar for parser in
or add calendar in parameter in above function