Replace time_t with DateLUTImpl::Time

This commit is contained in:
Roman Vasin 2022-12-02 16:40:36 +00:00
parent 59523864b9
commit 298a7055fa

View File

@ -1353,7 +1353,7 @@ struct ToDateTimeComponentsImpl
}
static inline DateLUTImpl::DateTimeComponents execute(UInt32 t, const DateLUTImpl & time_zone)
{
return time_zone.toDateTimeComponents(static_cast<time_t>(t));
return time_zone.toDateTimeComponents(static_cast<DateLUTImpl::Time>(t));
}
static inline DateLUTImpl::DateTimeComponents execute(Int32 d, const DateLUTImpl & time_zone)
{