Template:Daylight saving offset/doc
Appearance
| This is a documentation subpage for Template:Daylight saving offset. It may contain usage information, categories and other content that is not part of the original template page. |
| 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.
Usage
[edit]This template takes one unnamed parameter (or |1=) for the timezone abbrev. defined in Template:Time (eg. EST and not EDT).
Notes
[edit]When DST is active it produces 1
When DST isn't active it produces 0
Examples
[edit]- MST:
{{Daylight saving offset|MST}}→ 1 - NZST:
{{Daylight saving offset|NZST}}→ 0 - IST:
{{Daylight saving offset|IST}}→ 0 - CET:
{{Daylight saving offset|CET}}→ 1
See also
[edit]| Based on Module:Time | Based on {{Daylight saving active}} | |
|---|---|---|
| Supported time zones | See Template:Time#Supported time zones | See Template:Daylight saving active/doc/supported time zones |
| Offset related |
|
|
| Daylight saving related (0 when inactive, 1 when active) |
||
| Time related |
|