Difference between revisions of "Template:TimeDST"

From Rigged Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><abbr style="border-bottom: 1px dotted #000; background: #f1f1f1;" title="Eastern Time: {{#ifexpr: {{#expr:{{{1}}}-4}} >12|{{#expr: {{#expr:{{{1}}}-4}}-12}}:{{{2}...")
 
(fuck you john daylight time)
 
Line 3: Line 3:
[[Category:Templates]]
[[Category:Templates]]
==Usage==
==Usage==
Shows the corresponding time in the US Eastern and Pacific time zones on hover.
Shows the corresponding time in the US Eastern and Pacific time zones on hover. Should be used in events taking place after the DST transition.
===Parameters===
===Parameters===
<pre>{{Time|17|30}}</pre> gives {{Time|17|30}}
<pre>{{TimeDST|17|30}}</pre>
The first variable is the hour and the second one is the minute (in UTC).</noinclude>
The first variable is the hour and the second one is the minute (in UTC).
 
This gives {{TimeDST|17|30}}.</noinclude>

Latest revision as of 23:53, 14 March 2018

Usage

Shows the corresponding time in the US Eastern and Pacific time zones on hover. Should be used in events taking place after the DST transition.

Parameters

{{TimeDST|17|30}}

The first variable is the hour and the second one is the minute (in UTC).

This gives 17:30.