You can clone with
HTTPS or Subversion.
I have in my model a Date field "startTime" and in the userInfo :
So this is working and the parsed time is the right one.
But if you go to your iphone's
settings > general > date&time > enable 24-Hour Time.
then relaunch my app crashes because parsedDate is nil in :
// In MagicalImportFunctions.m
NSDate * dateFromString(NSString *value, NSString *format)
NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
[formatter setTimeZone:[NSTimeZone timeZoneForSecondsFromGMT:0]];
[formatter setLocale:[NSLocale currentLocale]];
NSDate *parsedDate = [formatter dateFromString:value];
I am using 2.2 release .
I guess it's a date format issue but i don't know how to handle it. Any thought on this please @casademora @blackgold9 @tonyarnold ?
See how you go with the workaround in #627, otherwise have a look at the tests included with MagicalRecord. Let me know if your workaround works OK.
Alright thanks !