This patch fixes datetime crash which was due to switch case not handled for kDateTime type in function MillisecondsSinceEpoch.
Change-Id: I5e48369204637a84f3d3dc76ae3f702cb53e1dc1
Signed-off-by: chiragmaheshwari <c.maheshwari@samsung.com>
switch (type_) {
case kDate:
return DateToDaysFrom1970(year_, month_, month_day_) * kMsPerDay;
+#if(BUILDFLAG(IS_EFL))
+ case kDateTime:
+#endif
case kDateTimeLocal:
return DateToDaysFrom1970(year_, month_, month_day_) * kMsPerDay +
MillisecondsSinceEpochForTime();