Predloga:Time ago/dok: razlika med redakcijama

m
m (→‎Examples: dual)
The result is rounded down. "Month" is defined as 31 days.
 
=== UsageUporaba ===
* <code><nowiki>{{</nowiki>'''Time ago'''|''timestamp''<nowiki>}}</nowiki></code>
 
The timestamp can be almost any solid, readable format but to avoid ambiguity mistakes, one of the styles below is preferred.
 
* <code>magnitude</code> parameter can be set to explicitly use certain unit. Allowed values are: <code>sekunde</code>, <code>minute</code>, <code>ure</code>, <code>dnevi</code>, <code>tedni</code>, <code>meseci</code> in <code>leta</code>, ter <code>seconds</code>, <code>minutes</code>, <code>hours</code>, <code>days</code>, <code>weeks</code>, <code>months</code> and <code>years</code>.
* <code>min_magnitude</code> parameter can be set to use the specified unit or bigger units. Allowed values are: <code>sekunde</code>, <code>minute</code>, <code>ure</code>, <code>dnevi</code>, <code>tedni</code>, <code>meseci</code> in <code>leta</code>, ter <code>seconds</code>, <code>minutes</code>, <code>hours</code>, <code>days</code>, <code>months</code> andin <code>years</code>.
* <code>ago</code> parameter can be set to override the default usage of the text "<code>agopred</code>".
 
==== Purge ====