Template:Time/testcases
Kaonekelo
Module:Time | Module:Time/sandbox
12:05, Novembala 2, 2018 MDT [refresh]
12:05, Novembala 2, 2018 MDT [refresh]
change to Hawaii–Aleutian abbreviation
[kulemba source]Hawaii HST during standard time | ||||
---|---|---|---|---|
{{time|HST|_TEST_TIME_=2020-12-05T18:05:00}} | ||||
08:05, Disembala 5, 2020 HST [refresh] | ||||
08:05, Disembala 5, 2020 HST [refresh] | ||||
|
Hawaii HST during daylight | ||||
---|---|---|---|---|
{{time|HST|_TEST_TIME_=2020-06-05T18:05:00}}} | ||||
09:05, Juni 5, 2020 HDT [refresh] | ||||
09:05, Juni 5, 2020 HDT [refresh] | ||||
|
Hawaii HDT during standard time | ||||
---|---|---|---|---|
{{time|HDT|_TEST_TIME_=2020-12-05T18:05:00}} | ||||
08:05, Disembala 5, 2020 HST [refresh] | ||||
08:05, Disembala 5, 2020 HST [refresh] | ||||
|
Hawaii HDT during daylight | ||||
---|---|---|---|---|
{{time|HDT|_TEST_TIME_=2020-06-05T18:05:00}} | ||||
09:05, Juni 5, 2020 HDT [refresh] | ||||
09:05, Juni 5, 2020 HDT [refresh] | ||||
|
Hawaii HAST during standard time | ||||
---|---|---|---|---|
{{time|HAST|_TEST_TIME_=2020-12-05T18:05:00}} | ||||
08:05, Disembala 5, 2020 HST [refresh] | ||||
08:05, Disembala 5, 2020 HST [refresh] | ||||
|
Hawaii HAST during daylight | ||||
---|---|---|---|---|
{{time|HAST|_TEST_TIME_=2020-06-05T18:05:00}} | ||||
09:05, Juni 5, 2020 HDT [refresh] | ||||
09:05, Juni 5, 2020 HDT [refresh] | ||||
|
Hawaii HADT during standard time | ||||
---|---|---|---|---|
{{time|HADT|_TEST_TIME_=2020-12-05T18:05:00}} | ||||
08:05, Disembala 5, 2020 HST [refresh] | ||||
08:05, Disembala 5, 2020 HST [refresh] | ||||
|
Hawaii HADT during daylight | ||||
---|---|---|---|---|
{{time|HADT|_TEST_TIME_=2020-06-05T18:05:00}} | ||||
09:05, Juni 5, 2020 HDT [refresh] | ||||
09:05, Juni 5, 2020 HDT [refresh] | ||||
|
custom date format
[kulemba source]df-cust | ||||
---|---|---|---|---|
{{time|df-cust=U|mst}} | ||||
1732253758 MST [refresh] | ||||
1732253758 MST [refresh] | ||||
|
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) | ||||
{{time}} – both of |df-cust-a= and |df-cust-p required (help) | ||||
|
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) | ||||
{{time}} – both of |df-cust-a= and |df-cust-p required (help) | ||||
|
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}} | ||||
7:05 ᴀᴍ, 2 Novembala 2018 UTC [refresh] | ||||
7:05 ᴀᴍ, 2 Novembala 2018 UTC [refresh] | ||||
|
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}} | ||||
1:05 p. m., 2 Novembala 2018 UTC [refresh] | ||||
1:05 p. m., 2 Novembala 2018 UTC [refresh] | ||||
|
lang
[kulemba source]Spanish | ||||
---|---|---|---|---|
{{time|lang=es|mst}} | ||||
05:35, noviembre 22, 2024 MST [refresh] | ||||
05:35, noviembre 22, 2024 MST [refresh] | ||||
|
Russian | ||||
---|---|---|---|---|
{{time|lang=ru|mst}} | ||||
05:35, ноябрь 22, 2024 MST [refresh] | ||||
05:35, ноябрь 22, 2024 MST [refresh] | ||||
|
Hebrew | ||||
---|---|---|---|---|
{{time|lang=he|mst}} | ||||
05:35, נובמבר 22, 2024 MST [refresh] | ||||
05:35, נובמבר 22, 2024 MST [refresh] | ||||
|
Standard Timezone
[kulemba source]No DST
[kulemba source]|dst=no
and EST|dst=false
and EST|dst=0
and EST|dst=no
, EST, and |df=dmy
Always DST
[kulemba source]{{Time}}
Auto DST
[kulemba source]{{Time}}
{{Time}}
{{Time}}
Other timezones (aliases)
[kulemba source]{{Time}}
{{Time}}
UTC offsets
[kulemba source]Hour
[kulemba source]{{Time}}
{{Time}}
{{Time}}
{{Time}}
{{Time}}
{{Time}}
{{Time}}
Hour and symbol at end
[kulemba source]{{Time}}
{{Time}}
Hour and minute
[kulemba source]{{Time}}
{{Time}}
{{Time}}
{{Time}}
Hour and decimal
[kulemba source]{{Time}}
{{Time}}
{{Time}}
{{Time}}
{{Time}}
{{Time}}
{{Time}}
{{Time}}
{{Time|05.75|hide-refresh=yes}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-11-22T18:20 UTC+05:45 | 2024-11-22T18:20 UTC+05:45 |
{{Time}}
{{Time|05.75|hide-tz=yes}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-11-22T18:20 [refresh] | 2024-11-22T18:20 [refresh] |
{{Time}}
{{Time|05.75|unlink-tz=yes}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-11-22T18:20 UTC+05:45 [refresh] | 2024-11-22T18:20 UTC+05:45 [refresh] |
{{Time}}
{{Time}}
{{Time}}
{{Time|05.222}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – unknown timezone 05.222 (help) | {{time}} – unknown timezone 05.222 (help) |
Day of the week
[kulemba source]{{Time}}
{{Time}}
Hour or minute
[kulemba source]{{Time}}
{{Time|df=H12}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – invalid date format h12 (help) | {{time}} – invalid date format h12 (help) |
{{Time}}
{{Time|EST|df=H24}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – invalid date format h24 (help) | {{time}} – invalid date format h24 (help) |
{{Time}}
{{Time|EST|df=min}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – invalid date format min (help) | {{time}} – invalid date format min (help) |
Is DST active?
[kulemba source]Script error: The function "dst" does not exist.
Script error: The function "dst" does not exist.
Script error: The function "dst" does not exist.
Script error: The function "dst" does not exist.
Script error: The function "dst" does not exist.
Error causing inputs
[kulemba source]{{Time}}
{{Time|bob}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – unknown timezone bob (help) | {{time}} – unknown timezone bob (help) |
{{Time}}
{{Time|CST|Realtime;)}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – invalid date format realtime;) (help) | {{time}} – invalid date format realtime;) (help) |
{{Time}}
{{Time|111.25}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – unknown timezone 111.25 (help) | {{time}} – unknown timezone 111.25 (help) |
{{Time}}
{{Time|±1}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – invalid use of ± (help) | {{time}} – invalid use of ± (help) |
{{Time}}
{{Time|WAD|dmy}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – unknown timezone wad (help) | {{time}} – unknown timezone wad (help) |
{{Time}}
{{Time|1|1}}
{{Time}} | {{Time/sandbox}} |
---|---|
{{time}} – invalid date format 1 (help) | {{time}} – invalid date format 1 (help) |
Parameter hide-refresh
[kulemba source]yes
{{Time|hide-refresh=yes}}
{{Time}} | {{Time/sandbox}} |
---|---|
12:35, 22 Novembala 2024 UTC | 12:35, 22 Novembala 2024 UTC |
true
{{Time|hide-refresh=true}}
{{Time}} | {{Time/sandbox}} |
---|---|
12:35, 22 Novembala 2024 UTC | 12:35, 22 Novembala 2024 UTC |
no
false
0
<empty>
Parameter unlink-tz
[kulemba source]yes
{{Time|05.75|unlink-tz=yes}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-11-22T18:20 UTC+05:45 [refresh] | 2024-11-22T18:20 UTC+05:45 [refresh] |
true
{{Time|05.75|unlink-tz=true}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-11-22T18:20 UTC+05:45 [refresh] | 2024-11-22T18:20 UTC+05:45 [refresh] |
no
false
0
<empty>
Parameter hide-tz
[kulemba source]yes
{{Time|05.75|hide-tz=yes}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-11-22T18:20 [refresh] | 2024-11-22T18:20 [refresh] |
true
{{Time|05.75|hide-tz=true}}
{{Time}} | {{Time/sandbox}} |
---|---|
2024-11-22T18:20 [refresh] | 2024-11-22T18:20 [refresh] |
no
false
0
<empty>
Parameter dateonly
[kulemba source]yes
true
no
false
0
<empty>
Parameter timeonly
[kulemba source]yes
true
no
false
0