Module:Time/sandbox: Difference between revisions

Content deleted Content added
use Module:Yesno to check boolean value of variable "DST"; check for 'always' needs to go up
fix checking of variable "DST"
Line 427:
timestamp = timestamp + 3600; -- add a hour for dst
tz_abbr = tz.dst_abbr; -- dst abbreviation
elseif not yesno(DST, true) then -- for timezones that DO observe dst but for this ___location ...
tz_abbr = tz.abbr; -- ... dst is not observed (|dst=no) show time as standard time
else