mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Update DateLUTImpl.cpp
This commit is contained in:
parent
6e6ae1db57
commit
04672a4365
@ -56,7 +56,7 @@ DateLUTImpl::DateLUTImpl(const std::string & time_zone_)
|
||||
time_t start_of_day;
|
||||
time_offset_epoch = cctz::convert(cctz::civil_second(lut_start), cctz_time_zone).time_since_epoch().count();
|
||||
|
||||
// Note validated this against all timezones in the system.
|
||||
// Note: it's validated against all timezones in the system.
|
||||
assert((epoch - lut_start) == daynum_offset_epoch);
|
||||
|
||||
offset_at_start_of_epoch = cctz_time_zone.lookup(cctz_time_zone.lookup(epoch).pre).offset;
|
||||
|
Loading…
Reference in New Issue
Block a user