Jump to content

Module talk:Time ago/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

2 of 40 tests failed.

test_main
Text Expected Actual
checkY {{#invoke:Time ago/sandbox|main|14 July 2024}} 3 months ago 3 months ago
checkY {{#invoke:Time ago/sandbox|main|{{CURRENTTIMESTAMP}}}} 0 seconds ago 0 seconds ago
☒N {{#invoke:Time ago/sandbox|main|14 July 2024|purge=yes}} 3 months ago (ago/testcases&action=purge purge) 3 months ago (purge)
☒N {{#invoke:Time ago/sandbox|main|{{CURRENTTIMESTAMP}}|purge=yes}} 0 seconds ago (ago/testcases&action=purge purge) 0 seconds ago (purge)
checkY {{#invoke:Time ago/sandbox|main|July 1 2009}} 15 years ago 15 years ago
checkY {{#invoke:Time ago/sandbox|main|July 1 2009|magnitude=minutes}} 8084985 minutes ago 8084985 minutes ago
checkY {{#invoke:Time ago/sandbox|main|July 1 2009|magnitude=days}} 5614 days ago 5614 days ago
checkY {{#invoke:Time ago/sandbox|main|July 1 2009|magnitude=weeks}} 802 weeks ago 802 weeks ago
checkY {{#invoke:Time ago/sandbox|main|July 1 2009|magnitude=months}} 184 months ago 184 months ago
checkY {{#invoke:Time ago/sandbox|main|July 1 2049|magnitude=months}} 295 months' time 295 months' time
checkY {{#invoke:Time ago/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.
checkY {{#invoke:Time ago/sandbox|main|July 1 2009|magnitude=fruits}} 485099126 seconds ago 485099126 seconds ago
checkY {{#invoke:Time ago/sandbox|main}} 0 seconds ago 0 seconds ago
checkY {{#invoke:Time ago/sandbox|main|July 1 2009|magnitude=HoUrS}} 485099126 seconds ago 485099126 seconds ago
checkY {{#invoke:Time ago/sandbox|main|4 August 2057}} 32 years' time 32 years' time
checkY {{#invoke:Time ago/sandbox|main|14 July 2024|ago=in the past}} 3 months in the past 3 months in the past
checkY {{#invoke:Time ago/sandbox|main|{{CURRENTTIMESTAMP}}|min_magnitude=weeks}} 0 weeks ago 0 weeks ago
checkY {{#invoke:Time ago/sandbox|main|14 July 2024|ago=}} 3 months 3 months
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -12 months -14 days}}|magnitude=months|spellout=yes}} twelve months ago twelve months ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -12 months -14 days}}|magnitude=months|spellout=y}} twelve months ago twelve months ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -12 months -14 days}}|magnitude=months|spellout=y|spelloutmax=11}} 12 months ago 12 months ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -12 months -14 days}}|magnitude=months|spellout=auto}} 12 months ago 12 months ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -4 years -14 days}}|magnitude=years|spellout=auto}} four years ago four years ago
checkY {{#invoke:Time ago/sandbox|main|July 1 2009|magnitude=weeks|spellout=yes}} 802 weeks ago 802 weeks ago
checkY {{#invoke:Time ago/sandbox|main|13 November 2006|magnitude=days}} 6575 days ago 6575 days ago
checkY {{#invoke:Time ago/sandbox|main|13 November 2006|magnitude=weeks}} 939 weeks ago 939 weeks ago
checkY {{#invoke:Time ago/sandbox|main|13 November 2006|magnitude=months}} 216 months ago 216 months ago
checkY {{#invoke:Time ago/sandbox|main|13 November 2006|magnitude=years}} 18 years ago 18 years ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -10 years }}}} 10 years ago 10 years ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -10 years -1 days}}}} 10 years ago 10 years ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -1 years }}}} 12 months ago 12 months ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -1 years -1 days}}}} 12 months ago 12 months ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -1 years -2 days}}}} 12 months ago 12 months ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -1 years -3 days}}}} 12 months ago 12 months ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -1 years -4 days}}}} 12 months ago 12 months ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -1 years -5 days}}}} 12 months ago 12 months ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -1 years -6 days}}}} 12 months ago 12 months ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -1 years -7 days}}}} 12 months ago 12 months ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -1 years -8 days}}}} 12 months ago 12 months ago
checkY {{#invoke:Time ago/sandbox|main|{{#time: r | -1 years -8 days}}|numeric=y}} 12 12

Start a discussion about improving the Module:Time ago/testcases page

Start a discussion