Template:Time/testcases
Jump to navigation
Jump to search
Module:Time | Module:Time/sandbox
19:05, November 2, 2018 MDT [refresh]
change to Hawaii–Aleutian abbreviation
Hawaii HST during standard time | ||||
---|---|---|---|---|
{{time|HST|_TEST_TIME_=2020-12-05T18:05:00}} | ||||
16:05, December 5, 2020 HST [refresh] | ||||
Template:Time/sandbox | ||||
|
Hawaii HST during daylight | ||||
---|---|---|---|---|
{{time|HST|_TEST_TIME_=2020-06-05T18:05:00}}} | ||||
16:05, June 5, 2020 HDT [refresh] | ||||
Template:Time/sandbox | ||||
|
Hawaii HDT during standard time | ||||
---|---|---|---|---|
{{time|HDT|_TEST_TIME_=2020-12-05T18:05:00}} | ||||
16:05, December 5, 2020 HST [refresh] | ||||
Template:Time/sandbox | ||||
|
Hawaii HDT during daylight | ||||
---|---|---|---|---|
{{time|HDT|_TEST_TIME_=2020-06-05T18:05:00}} | ||||
16:05, June 5, 2020 HDT [refresh] | ||||
Template:Time/sandbox | ||||
|
Hawaii HAST during standard time | ||||
---|---|---|---|---|
{{time|HAST|_TEST_TIME_=2020-12-05T18:05:00}} | ||||
16:05, December 5, 2020 HST [refresh] | ||||
Template:Time/sandbox | ||||
|
Hawaii HAST during daylight | ||||
---|---|---|---|---|
{{time|HAST|_TEST_TIME_=2020-06-05T18:05:00}} | ||||
16:05, June 5, 2020 HDT [refresh] | ||||
Template:Time/sandbox | ||||
|
Hawaii HADT during standard time | ||||
---|---|---|---|---|
{{time|HADT|_TEST_TIME_=2020-12-05T18:05:00}} | ||||
16:05, December 5, 2020 HST [refresh] | ||||
Template:Time/sandbox | ||||
|
Hawaii HADT during daylight | ||||
---|---|---|---|---|
{{time|HADT|_TEST_TIME_=2020-06-05T18:05:00}} | ||||
16:05, June 5, 2020 HDT [refresh] | ||||
Template:Time/sandbox | ||||
|
custom date format
df-cust | ||||
---|---|---|---|---|
{{time|df-cust=U|mst}} | ||||
1709011276 MST [refresh] | ||||
Template:Time/sandbox | ||||
|
df-cust-a | ||||
---|---|---|---|---|
{{time|df-cust-a=g:i "ᴀᴍ", j F Y|mst}} | ||||
{{time}} – both of |df-cust-a= and |df-cust-p required (help) | ||||
Template:Time/sandbox | ||||
|
df-cust-p | ||||
---|---|---|---|---|
{{time|df-cust=g:i "p. m.", j F Y|mst}} | ||||
{{time}} – both of |df-cust-a= and |df-cust-p required (help) | ||||
Template:Time/sandbox | ||||
|
df-cust-p and df-cust-p; | ||||
---|---|---|---|---|
{{time|df-cust=g:i "p. m.", j F Y|df-cust-a=g:i "ᴀᴍ", j F Y|_TEST_TIME_=2018-11-02T07:05:00}} | ||||
2:05 ᴀᴍ, 2 November 2018 UTC [refresh] | ||||
Template:Time/sandbox | ||||
|
df-cust-p and df-cust-p; | ||||
---|---|---|---|---|
{{time|df-cust-p=g:i "p. m.", j F Y|df-cust-a=g:i "ᴀᴍ", j F Y|_TEST_TIME_=2018-11-02T13:05:00}} | ||||
8:05 p. m., 2 November 2018 UTC [refresh] | ||||
Template:Time/sandbox | ||||
|
lang
Spanish | ||||
---|---|---|---|---|
{{time|lang=es|mst}} | ||||
05:21, febrero 27, 2024 MST [refresh] | ||||
Template:Time/sandbox | ||||
|
Russian | ||||
---|---|---|---|---|
{{time|lang=ru|mst}} | ||||
05:21, февраль 27, 2024 MST [refresh] | ||||
Template:Time/sandbox | ||||
|
Hebrew | ||||
---|---|---|---|---|
{{time|lang=he|mst}} | ||||
05:21, פברואר 27, 2024 MST [refresh] | ||||
Template:Time/sandbox | ||||
|
Standard Timezone
No DST
|dst=no
and EST{{Time|EST|dst=no}}
{{Time}} | {{Time/sandbox}} |
---|---|
07:21, February 27, 2024 EST [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
|dst=false
and EST{{Time|EST|dst=false}}
{{Time}} | {{Time/sandbox}} |
---|---|
07:21, February 27, 2024 EST [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
|dst=0
and EST{{Time|EST|dst=0}}
{{Time}} | {{Time/sandbox}} |
---|---|
07:21, February 27, 2024 EST [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
|dst=no
, EST, and |df=dmy
{{Time|EST|df=dmy|dst=no}}
{{Time}} | {{Time/sandbox}} |
---|---|
07:21, 27 February 2024 EST [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
Always DST
{{Time}}
{{Time|EST|dst=always}}
{{Time}} | {{Time/sandbox}} |
---|---|
08:21, February 27, 2024 EDT [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
Auto DST
{{Time}}
{{Time|EST|test_time=2020-06-05}}
{{Time}} | {{Time/sandbox}} |
---|---|
07:21, February 27, 2024 EST [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|EST|test_time=2020-01-05}}
{{Time}} | {{Time/sandbox}} |
---|---|
07:21, February 27, 2024 EST [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|EST}}
{{Time}} | {{Time/sandbox}} |
---|---|
07:21, February 27, 2024 EST [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
Other timezones (aliases)
{{Time}}
{{Time|EDT}}
{{Time}} | {{Time/sandbox}} |
---|---|
07:21, February 27, 2024 EST [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|ET}}
{{Time}} | {{Time/sandbox}} |
---|---|
07:21, February 27, 2024 EST [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
UTC offsets
Hour
{{Time}}
{{Time|utc+05:00}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T17:21 UTC+05:00 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|+5}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T17:21 UTC+05:00 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|5}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T17:21 UTC+05:00 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|-5}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T07:21 UTC−05:00 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|+05}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T17:21 UTC+05:00 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|05}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T17:21 UTC+05:00 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|-05}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T07:21 UTC−05:00 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
Hour and symbol at end
{{Time}}
{{Time|-05.}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T07:21 UTC−05:00 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|+05:}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T17:21 UTC+05:00 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
Hour and minute
{{Time}}
{{Time|+05:30}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T17:51 UTC+05:30 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|5:30}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T17:51 UTC+05:30 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|-5:30}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T06:51 UTC−05:30 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|-5:31}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T06:50 UTC−05:31 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
Hour and decimal
{{Time}}
{{Time|5.5}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T17:51 UTC+05:30 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|+05.5}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T17:51 UTC+05:30 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|-05.5}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T06:51 UTC−05:30 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|+5.25}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T17:36 UTC+05:15 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|05.25}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T17:36 UTC+05:15 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|−5.75}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T06:36 UTC−05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|05.75}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|05.75|hide-refresh=yes}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|05.75|hide-tz=yes}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|05.75|unlink-tz=yes}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|−5.2}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T07:09 UTC−05:12 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|05.2}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T17:33 UTC+05:12 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|05.222}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – unknown timezone 05.222 (help) | Error: expandTemplate: template "Time/sandbox" does not exist |
Day of the week
{{Time}}
{{Time|df=dow}}
{{Time}} | {{Time/sandbox}} |
---|---|
Tuesday UTC [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|EST|df=dow}}
{{Time}} | {{Time/sandbox}} |
---|---|
Tuesday EST [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
Hour or minute
{{Time}}
{{Time|df=H12}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – invalid date format h12 (help) | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|EST|df=H24}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – invalid date format h24 (help) | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|EST|df=min}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – invalid date format min (help) | Error: expandTemplate: template "Time/sandbox" does not exist |
Is DST active?
Script error: No such module "time/sandbox".
Script error: No such module "time/sandbox".
Script error: No such module "time/sandbox".
Script error: No such module "time/sandbox".
Script error: No such module "time/sandbox".
Error causing inputs
{{Time}}
{{Time|bob}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – unknown timezone bob (help) | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|CST|Realtime;)}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – invalid date format realtime;) (help) | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|111.25}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – unknown timezone 111.25 (help) | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|±1}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – invalid use of ± (help) | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|WAD|dmy}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – unknown timezone wad (help) | Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time}}
{{Time|1|1}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – invalid date format 1 (help) | Error: expandTemplate: template "Time/sandbox" does not exist |
Parameter hide-refresh
yes
{{Time|hide-refresh=yes}}
{{Time}} | {{Time/sandbox}} |
---|---|
12:21, 27 February 2024 UTC | Error: expandTemplate: template "Time/sandbox" does not exist |
true
{{Time|hide-refresh=true}}
{{Time}} | {{Time/sandbox}} |
---|---|
12:21, 27 February 2024 UTC | Error: expandTemplate: template "Time/sandbox" does not exist |
no
{{Time|hide-refresh=no}}
{{Time}} | {{Time/sandbox}} |
---|---|
12:21, 27 February 2024 UTC [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
false
{{Time|hide-refresh=false}}
{{Time}} | {{Time/sandbox}} |
---|---|
12:21, 27 February 2024 UTC [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
0
{{Time|hide-refresh=0}}
{{Time}} | {{Time/sandbox}} |
---|---|
12:21, 27 February 2024 UTC [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
<empty>
{{Time|hide-refresh=}}
{{Time}} | {{Time/sandbox}} |
---|---|
12:21, 27 February 2024 UTC [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
Parameter unlink-tz
yes
{{Time|05.75|unlink-tz=yes}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
true
{{Time|05.75|unlink-tz=true}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
no
{{Time|05.75|unlink-tz=no}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
false
{{Time|05.75|unlink-tz=false}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
0
{{Time|05.75|unlink-tz=0}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
<empty>
{{Time|05.75|unlink-tz=}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
Parameter hide-tz
yes
{{Time|05.75|hide-tz=yes}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
true
{{Time|05.75|hide-tz=true}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
no
{{Time|05.75|hide-tz=no}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
false
{{Time|05.75|hide-tz=false}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
0
{{Time|05.75|hide-tz=0}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
<empty>
{{Time|05.75|hide-tz=}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
Parameter dateonly
yes
{{Time|05.75|dateonly=yes}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
true
{{Time|05.75|dateonly=true}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
no
{{Time|05.75|dateonly=no}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
false
{{Time|05.75|dateonly=false}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
0
{{Time|05.75|dateonly=0}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
<empty>
{{Time|05.75|dateonly=}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
Parameter timeonly
yes
{{Time|05.75|timeonly=yes}}
{{Time}} | {{Time/sandbox}} |
---|---|
18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
true
{{Time|05.75|timeonly=true}}
{{Time}} | {{Time/sandbox}} |
---|---|
18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
no
{{Time|05.75|timeonly=no}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
false
{{Time|05.75|timeonly=false}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
0
{{Time|05.75|timeonly=0}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |
<empty>
{{Time|05.75|timeonly=}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-02-27T18:06 UTC+05:45 [refresh] | Error: expandTemplate: template "Time/sandbox" does not exist |