Template:Film date/testcases

Set main to view/set outputted categories for the mainspace.

YYYY
✅ Same

YYYY|MM
✅ Same

YYYY|MM|DD
✅ Same

XX
Errors

YYYY|||XX
✅ Same

YYYY|XX
Old version disregards location, new version displays good output.

Old version disregards location and interprets two years as part of same date, new version displays good output.

YYYY|MM||XX
✅ Same

YYYY|MM|XX
Old version chokes, new version displays good output.

YYYY|MM|DD|XX
✅ Same

More than 5, in mixed chronological order, plus some whitespace
Old version chokes on whitespace and stops at 5, new version trims whitespace, displays any number of rows, and sorts them chronologically.

same, but with parameters skipped rather than blank
Old version doesn't know what it's doing, new version performs same as previous.

same, with additional degenerate input
Old version has several errors, new version performs same as previous.