Template:Year-range/year-needs-spaced-dash/doc
From Pittsburgh Streets
The {{year-range/year-needs-spaced-dash}} template determines whether a year in a range needs a spaced dash. The {{year-range}} template uses this to determine whether to put spaces around the en dash.
This template produces true
if the specified year requires a spaced dash, or the empty string otherwise.
Usage examples
{{year-range/year-needs-spaced-dash|1759}}
→{{year-range/year-needs-spaced-dash|{{circa|1862}}}}
→ true{{year-range/year-needs-spaced-dash}}
→