Template:Daylight saving offset/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>BrandonXLF at 04:08, 14 May 2023 (Undid revision 1154703459 by BrandonXLF (talk)). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

[edit source]

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)

When DST is active it produces 0

When DST isn't active it produces 1

Examples

[edit source]
  • 1 (MST)
  • 0 (NZST)
  • 0 (IST)
  • 1 (CET)

See also

[edit source]
[edit source]
[edit source]
[edit source]