Template:EventTime: Difference between revisions

From NOISZ Wiki
(I DONT KNOW MAYBE THIS ONE WILL DO SOMETHING)
 
(Replaced content with "{{Delete}}")
Tag: Replaced
 
Line 1: Line 1:
<includeonly>{{
{{Delete}}
#vardefine: utc_timestamp | {{#time: U | {{{1|}}} }}<!--
-->}}{{
#vardefine: jst_timestamp | {{ #expr: {{ #var: utc_timestamp }} + (9 * 60 * 60) }}<!--
-->}}{{
#vardefine: et_format | {{{format|}}}
}}{{
#switch: {{ #var: et_format }}
|hm={{
  #vardefine: utc_display | {{#time: H:i "UTC" | @{{ #var: utc_timestamp }} }}
  }}{{
  #vardefine: jst_display | {{#time: H:i "JST" | @{{ #var: jst_timestamp }} }}
  }}
|#default={{
  #vardefine: utc_display | {{#time: H:i "UTC", F j, Y | @{{ #var: utc_timestamp }} }}
  }}{{
  #vardefine: jst_display | {{#time: H:i "JST", F j, Y | @{{ #var: jst_timestamp }} }}
  }}
}}{{ #switch: {{{style|}}}
|simple={{#widget:EventTimeSimple|format={{ #var: et_format }}|utc={{ #var: utc_timestamp }}|jst={{ #var: jst_timestamp }}|utc_time={{ #var: utc_display }}|jst_time={{ #var: jst_display }}}}
|#default={{#widget:EventTime|format={{ #var: et_format }}|utc={{ #var: utc_timestamp }}|jst={{ #var: jst_timestamp }}|utc_time={{ #var: utc_display }}|jst_time={{ #var: jst_display }}}}
}}</includeonly><noinclude>
== Test ==
{{EventTime|2017-03-26 17:00 JST}} - {{EventTime|2017-03-31 20:59 JST}}<br />
{{EventTime|2017-01-31 03:00 JST}} - {{EventTime|2017-03-25 23:59 JST}}
 
{{EventTime|20:59 JST}}<br />
{{EventTime|20:59 JST|format=hm}}<br />
</noinclude>

Latest revision as of 16:25, 23 November 2025

"It's not the right time for this. I'll have to erase it."
This page is marked for deletion, either for irrelevant information or for merging into another page.