คุยเรื่องมอดูล:TimeAgo/testcases
12 tests failed.
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}} | 7804112 minutes ago | 7804112 minutes ago | |
{{#invoke:TimeAgo/sandbox|main|July 1 2009|magnitude=days}} | 5419 days ago | 5419 days ago | |
{{#invoke:TimeAgo/sandbox|main|July 1 2009|magnitude=weeks}} | 774 weeks ago | 774 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}} | 468246753 seconds ago | 468246753 seconds ago | |
{{#invoke:TimeAgo/sandbox|main}} | 0 seconds ago | 0 seconds ago | |
{{#invoke:TimeAgo/sandbox|main|July 1 2009|magnitude=HoUrS}} | 468246753 seconds ago | 468246753 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 | 12 months ago |
ไม่สำเร็จ | {{#invoke:TimeAgo/sandbox|main|{{#time: r | -12 months -14 days}}|magnitude=months|spellout=y}} | twelve months ago | 12 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 | 4 years ago |
{{#invoke:TimeAgo/sandbox|main|July 1 2009|magnitude=weeks|spellout=yes}} | 774 weeks ago | 774 weeks ago | |
ไม่สำเร็จ | {{#invoke:TimeAgo/sandbox|main|{{REVISIONTIMESTAMP}}|magnitude=days}} | 1161864 days ago | 3758 days ago |
ไม่สำเร็จ | {{#invoke:TimeAgo/sandbox|main|{{REVISIONTIMESTAMP}}|magnitude=hours}} | 27884752 hours ago | 90195 hours ago |
ไม่สำเร็จ | {{#invoke:TimeAgo/sandbox|main|{{REVISIONTIMESTAMP}}|magnitude=minutes}} | 1673085146 minutes ago | 5411748 minutes ago |
ไม่สำเร็จ | {{#invoke:TimeAgo/sandbox|main|{{REVISIONTIMESTAMP}}|magnitude=seconds}} | 100385108815 seconds ago | 324704895 seconds ago |