I have an app that parses a string date using NSDateFormatter in the following way:
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"dd/MM/yyyy HH:mm"];
NSDate *date = [dateFormatter dateFromString:dateString];
if( !date )
NSLog(@"Cannot parse date: %@", dateString);
This works on all of our test devices but fails on one single client device. The value of dateString is "25/04/2014 17:22"
What could cause this to fail?