User:Ohconfucius/MOSNUM script test

Examples of unacceptable dates and how to fix them
Issue Unacceptable Acceptable
Hyphen in date range (use en dash) |date=2002-2003 |date=2002–2003
Slash in date range (use en dash) |date=2002/2003 or| |date=July/August 2003 date=2002–2003 or |date=July–August 2003
Hyphen in date range (use en dash) |date=April-May 2004 |date=April–May 2004
Missing space around en dash for range of full dates |date=April 2003–May 2004 |date=April 2003 – May 2004
Month capitalization |date=28 february 1900 |date=28 February 1900
Month capitalization |date=28 FEBRUARY 1900 |date=28 February 1900
Season capitalization |date=spring 2011 |date=Spring 2011
Future date (typo) |date=2102 |date=2012
Access date impossibly far in the past (typo) |access-date=1 January 2000 any access-date before 2001 is systematically removed
Access date only specifies month |access-date=January 2015 access-date becomes the first day of that month
Ambiguous date range or year and month |date=2002-03
  • |date=2002–2003
  • |date=March 2002
Bad abbreviation |date=Febr. 28, 1900
  • |date=Feb 28, 1900
  • |date=February 28, 1900
Nonexistent date |date=February 29, 1900
Undated |date=Undated |date=n.d.
Comma in month and year |date=February, 1900 |date=February 1900
Comma in season |date=Winter, 1900–1901 |date=Winter 1900–1901
Missing comma in format which requires it |date=February 28 1990 |date=February 28, 1990 or |date=28 February 1990
Non-date text |date=2008, originally 2000 |date=2008 |orig-year=2000
Zero-padding |date=January 04, 1987 |date=January 4, 1987
Date with slashes |date=12/6/87
  • ambiguous date needing human intervention
  • |date=December 6, 1987
  • |date=12 June 1987
Two-digit year |date=87-12-06 |date=1987-12-06
One-digit month or day |date=2007-3-6 |date=2007-03-06
Wikified date |date=April 1, 1999 |date=April 1, 1999
"mm-dd-yyyy" or "dd-mm-yyyy" date format |date=07-12-2009 |date=7 December 2009 or| |date=12 July 2009
or
|date=July 12, 2009 or| |date=December 7, 2009
Approximate or uncertain dates |date=circa 1970 or| |date={{circa}} 1970 |date=c. 1970