Fix call to wrong overload on Darwin

This commit is contained in:
Robert Schulze 2022-12-20 10:18:05 +00:00
parent 3f03b0b53d
commit f8378473c4
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
3 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,7 @@ private:
void init(time_t time, const DateLUTImpl & time_zone)
{
DateLUTImpl::DateTimeComponents components = time_zone.toDateTimeComponents(time);
DateLUTImpl::DateTimeComponents components = time_zone.toDateTimeComponents(static_cast<DateLUTImpl::Time>(time));
m_year = components.date.year;
m_month = components.date.month;

View File

@ -0,0 +1 @@
2022-12-12 15:06:09.000

View File

@ -0,0 +1 @@
select 1670853969::DateTime64(3, 'UTC');