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:
Stefan Schmidt 2013-09-30 13:31:23 +01:00
parent 24b6d01157
commit 7941941a13
1 changed files with 2 additions and 2 deletions

View File

@ -211,12 +211,12 @@ EAPI void elm_calendar_format_function_set(Evas_Object *obj, Elm
* struct tm selected_time;
* time_t current_time;
*
* current_time = time(NULL) + 5 * 84600;
* current_time = time(NULL) + 5 * (24 * 60 * 60);
* localtime_r(&current_time, &selected_time);
* elm_calendar_mark_add(cal, "holiday", selected_time,
* ELM_CALENDAR_ANNUALLY);
*
* current_time = time(NULL) + 1 * 84600;
* current_time = time(NULL) + 1 * (24 * 60 * 60);
* localtime_r(&current_time, &selected_time);
* elm_calendar_mark_add(cal, "checked", selected_time, ELM_CALENDAR_UNIQUE);
*