Difference between revisions of "Template:Daylight saving offset/doc"
Jump to navigation
Jump to search
imported>BrandonXLF |
imported>BrandonXLF |
||
| Line 1: | Line 1: | ||
===Usage=== | ===Usage=== | ||
{{box|padding=0px|margin=0px|align=right|{{box|type=white|{{shortcut|DST|dst}}}}{{box|type=white|{{Lua|Module:Time}}}}}} | {{box|padding=0px|margin=0px|align=right|{{box|type=white|{{shortcut|DST|dst}}}}{{box|type=white|{{Lua|Module:Time}}}}}} | ||
| − | This template uses [[Module:time]] to calculate the output. So most timezones should work. If a timezone doesn't work it needs to be added at [[Module:time]]. | + | This template uses [[Module:time]] to calculate the output. So most timezones should work. If a timezone doesn't work it needs to be added at [[Module:time]]. |
| + | {{clear}} | ||
==Parameters== | ==Parameters== | ||
This template takes one unnamed parameter (or {{para|1}}) This parameter is the timezone abbrev. of the standard time of the timezone (eg. EST and not EDT) | This template takes one unnamed parameter (or {{para|1}}) This parameter is the timezone abbrev. of the standard time of the timezone (eg. EST and not EDT) | ||
Revision as of 03:53, 17 August 2018
Usage
| This template uses Lua: |
This template uses Module:time to calculate the output. So most timezones should work. If a timezone doesn't work it needs to be added at Module:time.
Parameters
This template takes one unnamed parameter (or |1=) This parameter is the timezone abbrev. of the standard time of the timezone (eg. EST and not EDT)
Notes
When the time springs forward it produces x+1
When the time falls back it produces x