คุยเรื่องมอดูล:TimeAgo/testcases
เพิ่มหัวข้อหน้าตา
12 tests failed.
Text | Expected | Actual | |
---|---|---|---|
![]() |
{{#invoke:TimeAgo/sandbox|main|15 September 2013}} | 127 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}} | 127 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}} | 7886903 minutes ago | 7886903 minutes ago |
![]() |
{{#invoke:TimeAgo/sandbox|main|July 1 2009|magnitude=days}} | 5477 days ago | 5477 days ago |
![]() |
{{#invoke:TimeAgo/sandbox|main|July 1 2009|magnitude=weeks}} | 782 weeks ago | 782 weeks ago |
![]() |
{{#invoke:TimeAgo/sandbox|main|July 1 2009|magnitude=months}} | 176 months ago | 176 months ago |
![]() |
{{#invoke:TimeAgo/sandbox|main|July 1 2049|magnitude=months}} | 294 months' time | 294 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}} | 473214221 seconds ago | 473214221 seconds ago |
![]() |
{{#invoke:TimeAgo/sandbox|main}} | 0 seconds ago | 0 seconds ago |
![]() |
{{#invoke:TimeAgo/sandbox|main|July 1 2009|magnitude=HoUrS}} | 473214221 seconds ago | 473214221 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}} | 127 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=}} | 127 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}} | 782 weeks ago | 782 weeks ago |
![]() |
{{#invoke:TimeAgo/sandbox|main|{{REVISIONTIMESTAMP}}|magnitude=days}} | 1163333 days ago | 3815 days ago |
![]() |
{{#invoke:TimeAgo/sandbox|main|{{REVISIONTIMESTAMP}}|magnitude=hours}} | 27919996 hours ago | 91575 hours ago |
![]() |
{{#invoke:TimeAgo/sandbox|main|{{REVISIONTIMESTAMP}}|magnitude=minutes}} | 1675199798 minutes ago | 5494539 minutes ago |
![]() |
{{#invoke:TimeAgo/sandbox|main|{{REVISIONTIMESTAMP}}|magnitude=seconds}} | 100511987923 seconds ago | 329672363 seconds ago |