[misc]fixed last week recurrence bug
authorJeesun Kim <iamjs.kim@samsung.com>
Wed, 17 Apr 2013 05:22:37 +0000 (14:22 +0900)
committerJeesun Kim <iamjs.kim@samsung.com>
Wed, 17 Apr 2013 05:22:37 +0000 (14:22 +0900)
native/cal_db_instance.c
packaging/calendar-service.spec

index 323fe50..21c40d4 100644 (file)
@@ -821,8 +821,8 @@ static void __cal_db_instance_set_wday(UCalendar *ucal, int nth, int wday)
 {
        if (ucal)
        {
-               if (nth > 0) ucal_set(ucal, UCAL_DAY_OF_WEEK, wday);
-               if (wday > 0) ucal_set(ucal, UCAL_DAY_OF_WEEK_IN_MONTH, nth);
+               ucal_set(ucal, UCAL_DAY_OF_WEEK, wday);
+               ucal_set(ucal, UCAL_DAY_OF_WEEK_IN_MONTH, nth);
        }
 }
 
index 94bff40..61f8f9a 100644 (file)
@@ -84,9 +84,6 @@ chmod 660 /opt/usr/dbspace/.calendar-svc.db
 chmod 660 /opt/usr/dbspace/.calendar-svc.db-journal
 chmod 660 /opt/usr/data/calendar-svc/.CALENDAR_SVC_*
 
-vconftool set -t int db/calendar/timezone_on_off 0 -g 6003
-vconftool set -t string db/calendar/timezone_path "Asia/Seoul" -g 6003
-
 %postun -p /sbin/ldconfig
 
 %files