mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Fix call to wrong overload on Darwin
This commit is contained in:
parent
3f03b0b53d
commit
f8378473c4
@ -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;
|
||||
|
@ -0,0 +1 @@
|
||||
2022-12-12 15:06:09.000
|
@ -0,0 +1 @@
|
||||
select 1670853969::DateTime64(3, 'UTC');
|
Loading…
Reference in New Issue
Block a user