ಮಾಡ್ಯೂಲ್ ಚರ್ಚೆಪುಟ:TimeAgo/testcases
9 tests failed.
test_main:
Text | Expected | Actual | |
---|---|---|---|
{{#invoke:TimeAgo/sandbox|main|15 September 2013}} | 125 months ago | 10 years ago | |
{{#invoke:TimeAgo/sandbox|main|{{CURRENTTIMESTAMP}}}} | 0 seconds ago | 0 seconds ago | |
{{#invoke:TimeAgo/sandbox|main|15 September 2013|purge=yes}} | 125 months ago (purge) | 10 years ago (purge) | |
{{#invoke:TimeAgo/sandbox|main|{{CURRENTTIMESTAMP}}|purge=yes}} | 0 seconds ago (purge) | 0 seconds ago (purge) | |
{{#invoke:TimeAgo/sandbox|main|July 1 2009}} | 14 years ago | 14 years ago | |
{{#invoke:TimeAgo/sandbox|main|July 1 2009|magnitude=minutes}} | 7798336 minutes ago | 7798336 minutes ago | |
{{#invoke:TimeAgo/sandbox|main|July 1 2009|magnitude=days}} | 5415 days ago | 5415 days ago | |
{{#invoke:TimeAgo/sandbox|main|July 1 2009|magnitude=weeks}} | 773 weeks ago | 773 weeks ago | |
{{#invoke:TimeAgo/sandbox|main|July 1 2009|magnitude=months}} | 174 months ago | 174 months ago | |
{{#invoke:TimeAgo/sandbox|main|July 1 2049|magnitude=months}} | 296 months' time | 296 months' time | |
{{#invoke:TimeAgo/sandbox|main|Julio 1}} | Error: first parameter cannot be parsed as a date or time. | Error: first parameter cannot be parsed as a date or time. | |
{{#invoke:TimeAgo/sandbox|main|July 1 2009|magnitude=fruits}} | 467900219 seconds ago | 467900219 seconds ago | |
{{#invoke:TimeAgo/sandbox|main}} | 0 seconds ago | 0 seconds ago | |
{{#invoke:TimeAgo/sandbox|main|July 1 2009|magnitude=HoUrS}} | 467900219 seconds ago | 467900219 seconds ago | |
{{#invoke:TimeAgo/sandbox|main|4 August 2057}} | 33 years' time | 33 years' time | |
{{#invoke:TimeAgo/sandbox|main|15 September 2013|ago=in the past}} | 125 months in the past | 10 years in the past | |
{{#invoke:TimeAgo/sandbox|main|{{CURRENTTIMESTAMP}}|min_magnitude=weeks}} | 0 weeks ago | 0 weeks ago | |
{{#invoke:TimeAgo/sandbox|main|15 September 2013|ago=}} | 125 months | 10 years | |
{{#invoke:TimeAgo/sandbox|main|{{#time: r | -12 months -14 days}}|magnitude=months|spellout=yes}} | twelve months ago | twelve months ago | |
{{#invoke:TimeAgo/sandbox|main|{{#time: r | -12 months -14 days}}|magnitude=months|spellout=y}} | twelve months ago | twelve months ago | |
{{#invoke:TimeAgo/sandbox|main|{{#time: r | -12 months -14 days}}|magnitude=months|spellout=y|spelloutmax=11}} | 12 months ago | 12 months ago | |
{{#invoke:TimeAgo/sandbox|main|{{#time: r | -12 months -14 days}}|magnitude=months|spellout=auto}} | 12 months ago | 12 months ago | |
{{#invoke:TimeAgo/sandbox|main|{{#time: r | -4 years -14 days}}|magnitude=years|spellout=auto}} | four years ago | four years ago | |
{{#invoke:TimeAgo/sandbox|main|July 1 2009|magnitude=weeks|spellout=yes}} | 773 weeks ago | 773 weeks ago | |
{{#invoke:TimeAgo/sandbox|main|{{REVISIONTIMESTAMP}}|magnitude=days}} | 1158622 days ago | 3688 days ago | |
{{#invoke:TimeAgo/sandbox|main|{{REVISIONTIMESTAMP}}|magnitude=hours}} | 27806936 hours ago | 88527 hours ago | |
{{#invoke:TimeAgo/sandbox|main|{{REVISIONTIMESTAMP}}|magnitude=minutes}} | 1668416173 minutes ago | 5311654 minutes ago | |
{{#invoke:TimeAgo/sandbox|main|{{REVISIONTIMESTAMP}}|magnitude=seconds}} | 100104970413 seconds ago | 318699253 seconds ago |