trusted
5,920
edits
SurtrFan8511 (talk | contribs) m |
|||
Line 34: | Line 34: | ||
{{#vardefine:duration|{{#var:duration}};{{#var:duration array piece name}}!{{#replace:{{#time:c|{{#var:duration array piece start}}}}|+00:00|+09:00}}->{{#replace:{{#time:c|{{#var:duration array piece end}}}}|+00:00|+09:00}}}} | {{#vardefine:duration|{{#var:duration}};{{#var:duration array piece name}}!{{#replace:{{#time:c|{{#var:duration array piece start}}}}|+00:00|+09:00}}->{{#replace:{{#time:c|{{#var:duration array piece end}}}}|+00:00|+09:00}}}} | ||
|{{#vardefine:duration|{{#var:duration array piece name}}!{{#replace:{{#time:c|{{#var:duration array piece start}}}}|+00:00|+09:00}}->{{#replace:{{#time:c|{{#var:duration array piece end}}}}|+00:00|+09:00}}}} | |{{#vardefine:duration|{{#var:duration array piece name}}!{{#replace:{{#time:c|{{#var:duration array piece start}}}}|+00:00|+09:00}}->{{#replace:{{#time:c|{{#var:duration array piece end}}}}|+00:00|+09:00}}}} | ||
}}{{#ifexpr:{{#time: U| | }}{{#ifexpr:{{#time: U|+9 hours}} >= {{#time:U|{{#var:duration array piece start}}}} and {{#time: U|+9 hours}} <= {{#time: U|{{#var:duration array piece end}}}}| | ||
{{#vardefine:is active|true}} | {{#vardefine:is active|true}} | ||
}}{{#vardefine:duration array piece start|{{#time:U|{{#var:duration array piece start}}}} | }}{{#vardefine:duration array piece start|{{#time:U|{{#var:duration array piece start}}}} |