Change-Id: I9fee0a30cde1742d6571dcc2337376642bc0ea50
RET_IF(NULL == record);
RET_IF(NULL == ud);
+ int version = ud->version;
+ /* check if this field has different version content */
+ if (CAL_STRING_EQUAL == strncmp(value, ":FREQ=", strlen(":FREQ=")))
+ version = VCAL_VER_2;
+ else
+ version = VCAL_VER_1;
+
switch (ud->type) {
case CALENDAR_BOOK_TYPE_EVENT:
- switch (ud->version) {
+ switch (version) {
case VCAL_VER_1:
__work_component_property_rrule_ver_1(value, record, ud);
break;