summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2013-09-30 13:31:23 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2013-09-30 13:34:09 +0100
commit213db71206e11a475f37d202c763c8a05e3a9c62 (patch)
tree93a9ad18bc5d99ce7142e08f8a3ee71a49968fad /src
parent144734972ad848b3e3516ddf47233b741b42dc16 (diff)
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. :)
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_calendar_legacy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_calendar_legacy.h b/src/lib/elm_calendar_legacy.h
index 804a59334..1dad047b6 100644
--- a/src/lib/elm_calendar_legacy.h
+++ b/src/lib/elm_calendar_legacy.h
@@ -211,12 +211,12 @@ EAPI void elm_calendar_format_function_set(Evas_Object *obj, Elm
211 * struct tm selected_time; 211 * struct tm selected_time;
212 * time_t current_time; 212 * time_t current_time;
213 * 213 *
214 * current_time = time(NULL) + 5 * 84600; 214 * current_time = time(NULL) + 5 * (24 * 60 * 60);
215 * localtime_r(&current_time, &selected_time); 215 * localtime_r(&current_time, &selected_time);
216 * elm_calendar_mark_add(cal, "holiday", selected_time, 216 * elm_calendar_mark_add(cal, "holiday", selected_time,
217 * ELM_CALENDAR_ANNUALLY); 217 * ELM_CALENDAR_ANNUALLY);
218 * 218 *
219 * current_time = time(NULL) + 1 * 84600; 219 * current_time = time(NULL) + 1 * (24 * 60 * 60);
220 * localtime_r(&current_time, &selected_time); 220 * localtime_r(&current_time, &selected_time);
221 * elm_calendar_mark_add(cal, "checked", selected_time, ELM_CALENDAR_UNIQUE); 221 * elm_calendar_mark_add(cal, "checked", selected_time, ELM_CALENDAR_UNIQUE);
222 * 222 *