Difference between revisions of "Template:Current daylight saving offset in Europe"
Jump to navigation
Jump to search
imported>Patrick ({{{|safesubst:}}}) |
imported>Thesevenseas (Fixed Code) |
||
| Line 4: | Line 4: | ||
|3={{{{{|safesubst:}}}#ifexpr: ({{{{{|safesubst:}}}#time:j}} < {{{{{|safesubst:}}}Weekday in month|last|sunday|march|{{{{{|safesubst:}}}#time:Y}}}}) or ({{{{{|safesubst:}}}#time:j}} = {{{{{|safesubst:}}}Weekday in month|last|sunday|march|{{{{{|safesubst:}}}#time:Y}}}} and {{{{{|safesubst:}}}#time:G}} < 1)|0|1}} | |3={{{{{|safesubst:}}}#ifexpr: ({{{{{|safesubst:}}}#time:j}} < {{{{{|safesubst:}}}Weekday in month|last|sunday|march|{{{{{|safesubst:}}}#time:Y}}}}) or ({{{{{|safesubst:}}}#time:j}} = {{{{{|safesubst:}}}Weekday in month|last|sunday|march|{{{{{|safesubst:}}}#time:Y}}}} and {{{{{|safesubst:}}}#time:G}} < 1)|0|1}} | ||
|10={{{{{|safesubst:}}}#ifexpr: ({{{{{|safesubst:}}}#time:j}} < {{{{{|safesubst:}}}Weekday in month|last|sunday|october|{{{{{|safesubst:}}}#time:Y}}}}) or ({{{{{|safesubst:}}}#time:j}} = {{{{{|safesubst:}}}Weekday in month|last|sunday|october|{{{{{|safesubst:}}}#time:Y}}}} and {{{{{|safesubst:}}}#time:G}} < 1)|1|0}} | |10={{{{{|safesubst:}}}#ifexpr: ({{{{{|safesubst:}}}#time:j}} < {{{{{|safesubst:}}}Weekday in month|last|sunday|october|{{{{{|safesubst:}}}#time:Y}}}}) or ({{{{{|safesubst:}}}#time:j}} = {{{{{|safesubst:}}}Weekday in month|last|sunday|october|{{{{{|safesubst:}}}#time:Y}}}} and {{{{{|safesubst:}}}#time:G}} < 1)|1|0}} | ||
| − | }}</includeonly><noinclude>{{ | + | }}</includeonly><noinclude> |
| + | {{Documentation}} | ||
| + | </noinclude> | ||
Revision as of 14:01, 4 October 2010
Usage
This template gives the current daylight saving offset in Europe. The local time depends on the time zone. This template will automate the changes in daylight saving offset.
| Summer Time[{{fullurl:Template:Transclude|action=edit}} edit] | ||
|---|---|---|
| Year | Summer Time begins/ends[1] on |
Summer Time ends/begins[2] on |
| 2026 | Template:Weekday in month March | Template:Weekday in month October |
| 2027 | Template:Weekday in month March | Template:Weekday in month October |
| 2028 | Template:Weekday in month March | Template:Weekday in month October |
| 2029 | Template:Weekday in month March | Template:Weekday in month October |
| 2030 | Template:Weekday in month March | Template:Weekday in month October |
| 2031 | Template:Weekday in month March | Template:Weekday in month October |
| 2032 | Template:Weekday in month March | Template:Weekday in month October |
Please note that Iceland has not adopted this rule, and other countries (outside of Europe) might use the same start and end dates for daylight saving time.
Notes
fr:Modèle:Décalage horraire Europe
nl:Sjabloon:Zomertijd
| The above documentation is transcluded from Template:Current daylight saving offset in Europe/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |