Apple has a discussion of parsing Internet-style dates which is similar to your code but has a couple changes. It always uses the en_US_POSIX
locale, and it uses [NSTimeZone timeZoneForSecondsFromGMT:0]
instead of your local timezone for parsing. Try that and see if the results work better for you.