an iCal processing library
Diff: iCal.cpp
- Revision:
- 7:dc132d8bcbfd
- Parent:
- 6:4d1fc1cb38ad
- Child:
- 8:87549cc99d5e
--- a/iCal.cpp Sat Jul 05 22:27:56 2014 +0000 +++ b/iCal.cpp Thu Jul 10 11:01:49 2014 +0000 @@ -579,12 +579,16 @@ break; case inTimeZone: // Can also pick up daylight savings time - if (strcmp(pStart, "END:VTIMEZONE") == 0) + if (strcmp(pStart, "END:VTIMEZONE") == 0) { seeking = idle; - else if ((strncmp(pStart, "TZID:", 5) == 0) + } else if ((strncmp(pStart, "TZID:", 5) == 0) || (strncmp(pStart, "TZID=", 5) == 0) ) { tzoTZIDSec = ParseTZID(pStart + 5); tzAdjusted = true; + } else if (strncmp(pStart, "BEGIN:STANDARD", 14) == 0) { + + } else if (strncmp(pStart, "BEGIN:DAYLIGHT", 14) == 0) { + } break; case inEvent: