Template:Date period/doc

Usage

 * Derived from Module:Date period.

Automatically formats two given dates with a space and an en dash. Dates can be of any format supported by Module:Date.

If the month is the same, it is only shown once. If the month and day is the same, it will not show a second part at all. If the year is different, it will show the year unless disabled.

The year can be forcefully shown with the  parameter.

If one of the dates is invalid, the raw text will be displayed instead.