Forum:Commas in year names

Some of our pages are now displaying year names with commas in them. Example at County Sligo.

I have discussed it with User:Thurstan, who seems to have done the most recent adjusting of relevant templates. Here's the history of date display problems as he summarised it:


 * 1) In the original design, when Phlox discovered that the years were displaying with commas (and that there was no display option to suppress the commas for type "number"), he changed the "year" fields to type "date", which did display properly.
 * 2) After the last upgrade, the forms now gave a full "date-chooser" for the year fields, and always stuff a full date into the "year" fields. So every time a form was used to edit, the date fields broke. So we changed the data type for "year" back to "number", which gives us the "comma" problem.

What's the solution? Surely this is not the only SMW website that takes a year as a property then wants to display it without a comma? Maybe someone can read Help:Semantic forms with more insight than I have, in case the solution is on that page or a page it links to.

-- Robin Patterson (Talk) 09:35, April 23, 2011 (UTC)