From 151d7a6517af4227942d6fa4769fce9198c7b3ba Mon Sep 17 00:00:00 2001 From: Daniel Zaoui Date: Sat, 16 Sep 2017 23:37:36 +0300 Subject: [PATCH] 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;