stefan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=213db71206e11a475f37d202c763c8a05e3a9c62

commit 213db71206e11a475f37d202c763c8a05e3a9c62
Author: Stefan Schmidt <s.schm...@samsung.com>
Date:   Mon Sep 30 13:31:23 2013 +0100

    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. :)
---
 src/lib/elm_calendar_legacy.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elm_calendar_legacy.h b/src/lib/elm_calendar_legacy.h
index 804a593..1dad047 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
  * 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);
  *

-- 


Reply via email to