Changes

Jump to navigation Jump to search
moved simplified logic to an 'offset' template; using that template now
<!--This template makes use of other templates and it should never require any changes.
The #iferror check is included to prevent the hour offset (if given instead of
a time zone abbreviation) from being used as the minute offset.

-->{{#time:H|{{Current hour offset in time zone|{{{1|}}}|dst={{{dst|{{{autoDST|}}}}}}}} hours {{#iferror:{{#time:H|-{{{1|0}}} hours}}|{{Current minute offset in time zone|{{{1|}}}}} minutes|}}}}<!--

--><noinclude>
{{documentation}}
[[Category:Date-computing templates based on current time]]</noinclude>
Anonymous user

Navigation menu