Open onmyway133 opened 7 years ago
This works "2015-08-11 00:59:00 +0100"
formatter = [[NSDateFormatter alloc] init];
formatter.dateFormat = @"yyyy-MM-dd HH:mm:ss Z";
NSTimeInterval offset = [[NSTimeZone systemTimeZone] secondsFromGMT];
formatter.timeZone = [NSTimeZone timeZoneForSecondsFromGMT:offset];