forked from enlightenment/efl
elm_calendar: Fix wrong seconds per day also in comments.
Better fix it here as well before the 23.5h day spreads further and we are getting all out of sync. :)
This commit is contained in:
parent
24b6d01157
commit
7941941a13
|
@ -211,12 +211,12 @@ EAPI void elm_calendar_format_function_set(Evas_Object *obj, Elm
|
||||||
* struct tm selected_time;
|
* struct tm selected_time;
|
||||||
* time_t current_time;
|
* time_t current_time;
|
||||||
*
|
*
|
||||||
* current_time = time(NULL) + 5 * 84600;
|
* current_time = time(NULL) + 5 * (24 * 60 * 60);
|
||||||
* localtime_r(¤t_time, &selected_time);
|
* localtime_r(¤t_time, &selected_time);
|
||||||
* elm_calendar_mark_add(cal, "holiday", selected_time,
|
* elm_calendar_mark_add(cal, "holiday", selected_time,
|
||||||
* ELM_CALENDAR_ANNUALLY);
|
* ELM_CALENDAR_ANNUALLY);
|
||||||
*
|
*
|
||||||
* current_time = time(NULL) + 1 * 84600;
|
* current_time = time(NULL) + 1 * (24 * 60 * 60);
|
||||||
* localtime_r(¤t_time, &selected_time);
|
* localtime_r(¤t_time, &selected_time);
|
||||||
* elm_calendar_mark_add(cal, "checked", selected_time, ELM_CALENDAR_UNIQUE);
|
* elm_calendar_mark_add(cal, "checked", selected_time, ELM_CALENDAR_UNIQUE);
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue