Difference between revisions of "Template:DST"
Jump to navigation
Jump to search
imported>Technical 13 (Accepts a Time zone name declared in Template:Time/Helper as unnamed parameter {{{1}}}) |
imported>Technical 13 (I do believe this actually works. :)) |
||
| Line 1: | Line 1: | ||
| − | {{# | + | {{#ifexpr:{{#time:U|{{Trunc|{{Time/Helper|{{{1|UTC}}}}}|{{#invoke:string|len|{{#time:H:i, F j, Y}}}}}}}} < {{#time:U|{{Trunc|{{Time/Helper|UTC}}|{{#invoke:string|len|{{#time:H:i, F j, Y}}}}}}}}|-{{#expr:24-(({{#time:U|{{Trunc|{{Time/Helper|{{{1|UTC}}}}}|5}}}}-{{#time:U|{{Trunc|{{Time/Helper|UTC}}|5}}}})/3600)}}|+{{#expr:(({{#time:U|{{Trunc|{{Time/Helper|{{{1|UTC}}}}}|5}}}}-{{#time:U|{{Trunc|{{Time/Helper|UTC}}|5}}}})/3600)}}}}<noinclude> |
| − | + | {{Documentation}}</noinclude> | |
| − | |- | ||
| − | | | ||
| − | <noinclude>{{Documentation}}</noinclude> | ||
Revision as of 02:35, 16 January 2015
Expression error: Unexpected < operator.
| 40x40px | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
| The above documentation is transcluded from Template:DST/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |