Difference between revisions of "Template:Dow"

From blackwiki
Jump to navigation Jump to search
imported>BrandonXLF
imported>Retro
(Since the day of the week for a specific date doesn't change between time zones, doing convoluted date offset comparisons is unnecessary.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#ifeq:{{time|{{{1|UTC}}}|dmy|dateonly=yes|hide-refresh=yes|hide-tz=yes}}|{{#time:j F Y|-1 day}}|{{#time:{{#if:{{{short|}}}|D|l}}|-1 day}}|{{#ifeq:{{time|{{{1|UTC}}}|dmy|dateonly=yes|hide-refresh=yes|hide-tz=yes}}|{{#time:j F Y|1 day}}|{{#time:{{#if:{{{short|}}}|D|l}}|1 day}}|{{#time:{{#if:{{{short|}}}|D|l}}}}}}}}<noinclude>{{doc}}</noinclude>
+
{{#time:{{#if:{{{short|}}}|D|l}}|{{time|{{{1|UTC}}}|dmy|dateonly=yes|hide-refresh=yes|hide-tz=yes}}}}<noinclude>{{doc}}</noinclude>

Latest revision as of 17:30, 28 April 2019

Error: Invalid time.

Template documentation[view] [edit] [history] [purge]

Alles gelleşd wor.

Parameters

removed from development

Examples

Error: Invalid time. {{dow|m+|short=yes}}

Error: Invalid time. {{dow|IDLE}}

Error: Invalid time. {{dow|JST}}

Error: Invalid time. {{dow|IST}}

Error: Invalid time. {{dow|UTC}}

Error: Invalid time. {{dow}}

Error: Invalid time. {{dow|short=yes}}

Error: Invalid time. {{dow|EST|short=yes}}

Error: Invalid time. {{dow|MST}}

Error: Invalid time. {{dow|HAST}

Error: Invalid time. {{dow|HAST|short=yes}}

Error: Invalid time. {{dow|IDLW}}