Summary:
Some app like calendar, they heavily depend on the value of datetime,so to ensure accuracy
second field is considered while comparing datetime values.
@fix
Test Plan: NA
Reviewers: shilpasingh, raster
Reviewed By: shilpasingh, raster
Subscribers: poornima.srinivasan, govi, rajeshps
Differential Revision: https://phab.enlightenment.org/D2204
&(tmptr)->tm_mon, \
&(tmptr)->tm_mday, \
&(tmptr)->tm_hour, \
- &(tmptr)->tm_min}
+ &(tmptr)->tm_min, \
+ &(tmptr)->tm_sec}
// default limits for individual fields
static Format_Map mapping[ELM_DATETIME_TYPE_COUNT] = {
DATETIME_TM_ARRAY(timearr1, time1);
DATETIME_TM_ARRAY(timearr2, time2);
- for (idx = 0; idx < ELM_DATETIME_TYPE_COUNT - 1; idx++)
+ for (idx = 0; idx < ELM_DATETIME_TYPE_COUNT; idx++)
{
if (*timearr1[idx] != *timearr2[idx])
return EINA_FALSE;