Template:Daylight saving offset/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Daylight saving offset. It contains usage information, categories and other content that is not part of the original template page. |
Contents
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 DST is active it produces 0
When DST isn't active it produces 1
Examples
- 1 (MST)
- 0 (NZST)
- 0 (IST)
- 1 (CET)