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

From blackwiki
Jump to navigation Jump to search
imported>BrandonXLF
imported>BrandonXLF
Line 1: Line 1:
 
===Usage===
 
===Usage===
 +
{{Lua|Module:Time}}
 
{{shortcut|DST|dst}}
 
{{shortcut|DST|dst}}
This template uses [[Template: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]].  
 
+
==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)
 
===Notes===
 
===Notes===
 
When the time springs forward it produces ''x+1''
 
When the time springs forward it produces ''x+1''
  
 
When the time falls back it produces ''x''
 
When the time falls back it produces ''x''

Revision as of 03:49, 17 August 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 the time springs forward it produces x+1

When the time falls back it produces x