From be51acd62630b4f1cb3cc34ad7d0bb3cd5c9d407 Mon Sep 17 00:00:00 2001 From: Jeesun Kim Date: Wed, 17 Apr 2013 14:22:37 +0900 Subject: [PATCH] [misc]fixed last week recurrence bug --- native/cal_db_instance.c | 4 ++-- packaging/calendar-service.spec | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/native/cal_db_instance.c b/native/cal_db_instance.c index 323fe50..21c40d4 100644 --- a/native/cal_db_instance.c +++ b/native/cal_db_instance.c @@ -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); } } diff --git a/packaging/calendar-service.spec b/packaging/calendar-service.spec index 94bff40..61f8f9a 100644 --- a/packaging/calendar-service.spec +++ b/packaging/calendar-service.spec @@ -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 -- 2.7.4