Content deleted Content added
fix checking of variable "DST" |
|||
Line 424:
timestamp = utc_timestamp + utc_offset; -- make local time timestamp
if '
tz_abbr = tz.abbr; -- ... dst is not observed (|dst=no) show time as standard time▼
elseif 'always' == DST then -- if needed to always display dst time
timestamp = timestamp + 3600; -- add a hour for dst
tz_abbr = tz.dst_abbr; -- dst abbreviation
▲ tz_abbr = tz.abbr; -- ... dst is not observed (|dst=no) show time as standard time
else
if is_set (tz.dst_begins) and is_set (tz.dst_ends) and is_set (tz.dst_time) then -- make sure we have all of the parts
|