jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=151d7a6517af4227942d6fa4769fce9198c7b3ba

commit 151d7a6517af4227942d6fa4769fce9198c7b3ba
Author: Daniel Zaoui <daniel.za...@yahoo.com>
Date:   Sat Sep 16 23:37:36 2017 +0300

    Tests/datetime: set the weekday to avoid Exactness error
    
    The weekday, if not set, is the weekday of the day the test is run (i.e
    today).
    It means Exactness shots will be different most of the time.
---
 src/bin/elementary/test_datetime.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/elementary/test_datetime.c 
b/src/bin/elementary/test_datetime.c
index 9894e1b634..6bc0f8c583 100644
--- a/src/bin/elementary/test_datetime.c
+++ b/src/bin/elementary/test_datetime.c
@@ -22,6 +22,7 @@ _bt_clicked(void *data EINA_UNUSED, Evas_Object *obj, void 
*event_info EINA_UNUS
    t = time(NULL);
    localtime_r(&t, &new_time);
 
+   new_time.tm_wday = 6;
    new_time.tm_year = 85;
    new_time.tm_mon = 9;
    new_time.tm_mday = 26;

-- 


Reply via email to