Razgovor o modulu:TimeAgo/testiranje
28 testova nije uspjelo.
test_main:
Unos | Očekivan rezultat | Dobiven rezultat | |
---|---|---|---|
{{#invoke:TimeAgo|main|15 September 2013}} | 125 months ago | prije 10 godina | |
{{#invoke:TimeAgo|main|{{CURRENTTIMESTAMP}}}} | 0 seconds ago | prije 0 sekundi | |
{{#invoke:TimeAgo|main|15 September 2013|purge=yes}} | 125 months ago (purge) | prije 10 godina (освежи) | |
{{#invoke:TimeAgo|main|{{CURRENTTIMESTAMP}}|purge=yes}} | 0 seconds ago (purge) | prije 0 sekundi (освежи) | |
{{#invoke:TimeAgo|main|July 1 2009}} | 14 years ago | prije 14 godina | |
{{#invoke:TimeAgo|main|July 1 2009|magnitude=minutes}} | 7796694 minutes ago | prije 7796694 minute | |
{{#invoke:TimeAgo|main|July 1 2009|magnitude=days}} | 5414 days ago | prije 5414 dana | |
{{#invoke:TimeAgo|main|July 1 2009|magnitude=weeks}} | 773 weeks ago | prije 773 sedmice | |
{{#invoke:TimeAgo|main|July 1 2009|magnitude=months}} | 174 months ago | prije 174 mjeseca | |
{{#invoke:TimeAgo|main|July 1 2049|magnitude=months}} | 296 months' time | после 296 mjeseci | |
{{#invoke:TimeAgo|main|Julio 1}} | Error: first parameter cannot be parsed as a date or time. | Грешка: Први параметар се не може анализирати као датум или време. | |
{{#invoke:TimeAgo|main|July 1 2009|magnitude=fruits}} | 467801672 seconds ago | prije 467801672 sekunde | |
{{#invoke:TimeAgo|main}} | 0 seconds ago | prije 0 sekundi | |
{{#invoke:TimeAgo|main|July 1 2009|magnitude=HoUrS}} | 467801672 seconds ago | prije 467801672 sekunde | |
{{#invoke:TimeAgo|main|4 August 2057}} | 33 years' time | после 33 godine | |
{{#invoke:TimeAgo|main|15 September 2013|ago=in the past}} | 125 months in the past | in the past10 godina | |
{{#invoke:TimeAgo|main|{{CURRENTTIMESTAMP}}|min_magnitude=weeks}} | 0 weeks ago | prije 0 sedmica | |
{{#invoke:TimeAgo|main|15 September 2013|ago=}} | 125 months | 10 godina | |
{{#invoke:TimeAgo|main|{{#time: r | -12 months -14 days}}|magnitude=months|spellout=yes}} | twelve months ago | prije twelve mjeseci | |
{{#invoke:TimeAgo|main|{{#time: r | -12 months -14 days}}|magnitude=months|spellout=y}} | twelve months ago | prije twelve mjeseci | |
{{#invoke:TimeAgo|main|{{#time: r | -12 months -14 days}}|magnitude=months|spellout=y|spelloutmax=11}} | 12 months ago | prije 12 mjeseci | |
{{#invoke:TimeAgo|main|{{#time: r | -12 months -14 days}}|magnitude=months|spellout=auto}} | 12 months ago | prije 12 mjeseci | |
{{#invoke:TimeAgo|main|{{#time: r | -4 years -14 days}}|magnitude=years|spellout=auto}} | four years ago | prije four godine | |
{{#invoke:TimeAgo|main|July 1 2009|magnitude=weeks|spellout=yes}} | 773 weeks ago | prije 773 sedmice | |
{{#invoke:TimeAgo|main|{{REVISIONTIMESTAMP}}|magnitude=days}} | 1157498 days ago | prije 3660 dana | |
{{#invoke:TimeAgo|main|{{REVISIONTIMESTAMP}}|magnitude=hours}} | 27779972 hours ago | prije 87852 sata | |
{{#invoke:TimeAgo|main|{{REVISIONTIMESTAMP}}|magnitude=minutes}} | 1666798373 minutes ago | prije 5271144 minute | |
{{#invoke:TimeAgo|main|{{REVISIONTIMESTAMP}}|magnitude=seconds}} | 100007902407 seconds ago | prije 316268647 sekundi |