Template:Daylight saving offset
Appearance
(Redirected from Template:Dst)
1
| 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
This template takes one unnamed parameter (or |1=) for the timezone abbrev. defined in Template:Time (eg. EST and not EDT).
Notes
When DST is active it produces 1
When DST isn't active it produces 0
Examples
- 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
| 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 |
|