Template:PrettyTime: Difference between revisions
Jump to navigation
Jump to search
(created template) |
(minor fix) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{1|}}}|{{#ifeq:{{#vardefineecho:min|{{#expr:({{{1|}}} | {{#if:{{{1|}}}|{{#ifeq:{{#vardefineecho:min|{{#expr:floor({{{1|}}}div60)}}}}|0||{{#var:min}} min <nowiki/>}}{{#ifeq:{{#vardefineecho:sec|{{#expr:{{{1|}}}mod60}}}}|0||{{#var:sec}} sec}}}} |