Template:PrettyTime: Difference between revisions

From Cithare Wiki
Jump to navigation Jump to search
(created template)
 
(minor bug fix)
Line 1: Line 1:
{{#if:{{{1|}}}|{{#ifeq:{{#vardefineecho:min|{{#expr:({{{1|}}}/60)round0}}}}|0||{{#var:min}} min <nowiki/>}}{{#ifeq:{{#vardefineecho:sec|{{#expr:{{{1|}}}mod60}}}}|0||{{#var:sec}} sec}}}}
{{#if:{{{1|}}}|{{#ifeq:{{#vardefineecho:min|{{#expr:({{{1|}}}div60)round0}}}}|0||{{#var:min}} min <nowiki/>}}{{#ifeq:{{#vardefineecho:sec|{{#expr:{{{1|}}}mod60}}}}|0||{{#var:sec}} sec}}}}

Revision as of 13:05, 12 December 2020