iCal4ObjC
iCal4ObjC copied to clipboard
Date parsing format wrong
Hello !
I've been using your great library to parse some iCal files on iOS.
However, I noticed a strange bug : dates parsed were a year less than the actual date.
The fix is simple : In NSDate.CGICalendar.m, replace YYYY by yyyy in CGNSDATE_ICALENDAR_DATETMEFORMAT and CGNSDATE_ISO8601_DATETMEFORMAT
Here is the justification :
http://stackoverflow.com/a/8187078