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

From blackwiki
Jump to navigation Jump to search
imported>BrandonXLF
imported>BrandonXLF
Line 9: Line 9:
  
 
When the time falls back it produces ''x''
 
When the time falls back it produces ''x''
 +
===Examples===
 +
*{{Current_daylight_saving_offset|MST}} (MST)
 +
*{{Current_daylight_saving_offset|NZST}} (NZST)
 +
*{{Current_daylight_saving_offset|IST}} (IST)
 +
*{{Current_daylight_saving_offset|CET}} (CET)

Revision as of 03:08, 18 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

Examples

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