Update DateLUTImpl.cpp

This commit is contained in:
alexey-milovidov 2021-03-03 22:29:26 +03:00 committed by GitHub
parent 6e6ae1db57
commit 04672a4365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;