cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=50b549faa2873f5de991dde54018efa1bf5f9613
commit 50b549faa2873f5de991dde54018efa1bf5f9613 Author: Jiwon Kim <jwkim0...@gmail.com> Date: Wed Jul 6 12:49:43 2016 -0700 elm_calendar: fix first week is not changed Summary: @fix Test Plan: 1. elm_calendar_first_day_of_week_set(cal, ELM_DAY_MONDAY); 2. First week string should be changed to "Mon" Reviewers: tasn, cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4135 Signed-off-by: Cedric BAIL <ced...@osg.samsung.com> --- src/lib/elementary/elm_calendar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_calendar.c b/src/lib/elementary/elm_calendar.c index 85a7f28..2782ec3 100644 --- a/src/lib/elementary/elm_calendar.c +++ b/src/lib/elementary/elm_calendar.c @@ -717,7 +717,7 @@ _set_headers(Evas_Object *obj) } } part[3] = i + '0'; - elm_layout_text_set(obj, part, sd->weekdays[i]); + elm_layout_text_set(obj, part, sd->weekdays[(i + sd->first_week_day) % ELM_DAY_LAST]); weekday += 86400; /* Advance by a day */ } } --