Predloga:Time ago/core/peskovnik: razlika med redakcijama

m
dvojina
m
m (dvojina)
{{#ifexpr:{{#time:U}}>={{#time:U|{{{time|}}}}}
|{{{pred|pred}}} {{#switch:{{max|{{{min_magnitude_num|-1}}}|{{{auto_magnitude_num|0}}}}}
|0 = {{plural|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}}))}}|sekundami|sekundo|sekundama|sekundami}}
|1 = {{plural|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/60)}}|minutami|minuto|minutama|minutami}}
|2 = {{plural|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/3600)}}|urami|uro|urama|urami}}
|3 = {{plural|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/86400)}}|dnevi|dnem|dnevoma|dnevi}}
|4 = {{plural|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/604800)}}|tedni|tednom|tednoma|tedni}}
|5 = {{plural|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/2678400)}}|meseci|mesecem|mesecema|meseci}}
|6 = {{plural|{{#expr:floor(abs({{#time:U}}-{{#time:U|{{{time|}}}}})/31557600)}}|leti|letom|letoma|leti}}
}}
|{{#switch:{{max|{{{min_magnitude_num|-1}}}|{{{auto_magnitude_num|0}}}}}