Template:Time/doc: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
Line 126:
Daylight saving time (DST) calculations are automatic for those time zones where it is observed. There are locales that do not observe DST within time zones where it is generally observed. To render the correct time for a non-observant locale, set {{para|dst|no}}:
:<code><nowiki>{{time|MST|dst=no}}</nowiki></code>
::{{time|MST|dst=no}} – [[w:en:Time in Arizona|time in Arizona]]
:<code><nowiki>{{time|MST}}</nowiki></code>
::{{time|MST}} – but, time on the [[w:en:Navajo Nation|Navajo Nation]] in Arizona
Line 168:
::<code><month name></code> – any of the month names 'January', 'February', 'March', etc.; capitalization is not important but otherwise must be spelled correctly; abbreviations not supported
:<code><nowiki>dst_ends = ''</nowiki></code> – (required if <code>dst_begins</code> is specified) same as <code>dst_begins</code>
:<code><nowiki>dst_time = ''</nowiki></code> – (required if <code>dst_begins</code> is specified) the time that daylight saving time begins; usually local time; when DST begins at a specified time UTC ([[w:en:European Summer Time|European Summer Time]] for example) use: <code>dst_time = 'hh:mm UTC'</code>; four digits and the colon are required
:<code><nowiki>dst_e_time = ''</nowiki></code> – the time that daylight saving time ends if different from the time it begins; usually local daylight saving time ; when DST ends at a specified time UTC use: <code>dst_e_time = 'hh:mm UTC'</code>; four digits and the colon are required
:<code><nowiki>article = ''</nowiki></code> – (required) the title of a Wikipedia article that is appropriate to the timezone; do not include wikimarkup