Difference between revisions of "Template:Daylight saving offset/doc"

From blackwiki
Jump to navigation Jump to search
imported>BrandonXLF
imported>WOSlinker
m (add {{documentation subpage}})
 
Line 1: Line 1:
 +
{{documentation subpage}}
 
==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}}}}}}

Latest revision as of 16:10, 29 October 2018

Usage

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 DST is active it produces 0

When DST isn't active it produces 1

Examples

  • 0 (MST)
  • 1 (NZST)
  • 0 (IST)
  • 0 (CET)

Template:Time related templates