Correction in value assigned 78/259278/1 accepted/tizen/6.5/unified/20211028.123635 accepted/tizen/unified/20210611.145007 submit/tizen/20210610.051349 submit/tizen/20210610.065804 submit/tizen_6.5/20211028.162401 tizen_6.5.m2_release
authorAbhimanyu Swami <abhimanyu1.s@samsung.com>
Thu, 3 Jun 2021 12:26:49 +0000 (17:56 +0530)
committerAbhimanyu Swami <abhimanyu1.s@samsung.com>
Thu, 3 Jun 2021 12:26:49 +0000 (17:56 +0530)
Change-Id: I56961fc1be15deea0e9d5c181c6984491d3b5f6d
Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
common/cal_record.c

index 9ae11dc..cd5e3f7 100644 (file)
@@ -440,7 +440,7 @@ EXPORT_API int cal_caltime_set_local_month(calendar_time_s *caltime, int month)
        RETV_IF(NULL == caltime, CALENDAR_ERROR_INVALID_PARAMETER);
        RETV_IF(CALENDAR_TIME_LOCALTIME != caltime->type, CALENDAR_ERROR_INVALID_PARAMETER);
 
-       caltime->time.date.year = month;
+       caltime->time.date.month = month;
 
        return CALENDAR_ERROR_NONE;
 }