Template:User time zone/DST/doc

From Wikipedia, the free encyclopedia

This template requires at least three variables, please see usage.

Usage[edit]

The first variable of the template represents the name of your standard time zone, it can be UTC with or without an offset, or the zone's abbreviation. The second variable of the template represents the name of your time zone during daylight savings, it can be UTC with or without an offset, or the zone's abbreviation. The third variable is the range of months of year that you observe daylight savings. The fourth and fifth variables are the links for the time zone abbreviation to point to - by default, this is the abbreviation itself, which is usually a disambiguation, not the intended article.

Samples[edit]

Template output Stand alone code
UTC
UTC+01
This user has a standard time zone of UTC, but uses UTC+01 from April to October.
{{User time zone/DST|UTC|UTC+01|April to October}}
UTC−07
UTC−06
This user has a standard time zone of UTC−07, but uses UTC−06 from March to October.
{{User time zone/DST|UTC−07|UTC−06|March to October}}
MST
MDT
This user has a standard time zone of MST, but uses MDT from March to October.
{{User time zone/DST|MST|MDT|March to October|Mountain Standard Time|Mountain Daylight Time}}
{{User time zone/DST|UTC−03:30|UTC−02:30|March to October}}
{{User time zone/DST|UTC−03|UTC−02|November to February}}

Available UTC offsets:[edit]

See also[edit]