On aarch64 mktime was returning -1 due to daylight saving time flag not being set in the struct tm. The struct is initialized with 0s and the flag is set to -1 (not available)
Change-Id: Id5958ad5769eaf53d3db571e34e07a7fd1bbd122
eina_value_util_time_string_new(const char *timestr)
{
Eina_Value *v;
- struct tm tm;
+ struct tm tm = {0};
time_t t;
if (!strptime(timestr, "%Y%m%dT%H:%M:%S", &tm)) return NULL;
+ tm.tm_isdst = -1; // Set daylight saving time flag to not available
t = mktime(&tm);
v = eina_value_new(EINA_VALUE_TYPE_TIMESTAMP);
if (v) eina_value_set(v, t);