Template:Birth date/testcases

From Ford Wiki
Jump to navigation Jump to search

The following test cases use {{Birth date/sandbox}}:

International format (df=yes)

  • May 13, 2011(2011-05-13)
  • September 22, 2008(2008-09-22)
  • March 11, 1985(1985-03-11)
  • December 23, 1898(1898-12-23)
  • January 31, 1955(1955-01-31)
  • February 29, 1956(1956-02-29)
  • March 31, 1957(1957-03-31)
  • April 30, 1958(1958-04-30)
  • May 31, 1959(1959-05-31)
  • June 30, 1960(1960-06-30)
  • July 31, 1961(1961-07-31)
  • August 31, 1962(1962-08-31)
  • September 30, 1963(1963-09-30)
  • October 31, 1964(1964-10-31)
  • November 30, 1965(1965-11-30)
  • December 31, 1966(1966-12-31)

American format (mf=yes)

  • 13 May 2011(2011-05-13)
  • 22 September 2008(2008-09-22)
  • 11 March 1985(1985-03-11)
  • 23 December 1898(1898-12-23)
  • 31 January 1955(1955-01-31)
  • 29 February 1956(1956-02-29)
  • 31 March 1957(1957-03-31)
  • 30 April 1958(1958-04-30)
  • 31 May 1959(1959-05-31)
  • 30 June 1960(1960-06-30)
  • 31 July 1961(1961-07-31)
  • 31 August 1962(1962-08-31)
  • 30 September 1963(1963-09-30)
  • 31 October 1964(1964-10-31)
  • 30 November 1965(1965-11-30)
  • 31 December 1966(1966-12-31)

Default (International) format (no parameter)

  • 13 May 2011(2011-05-13)
  • 22 September 2008(2008-09-22)
  • 11 March 1985(1985-03-11)
  • 23 December 1898(1898-12-23)
  • 31 January 1955(1955-01-31)
  • 29 February 1956(1956-02-29)
  • 31 March 1957(1957-03-31)
  • 30 April 1958(1958-04-30)
  • 31 May 1959(1959-05-31)
  • 30 June 1960(1960-06-30)
  • 31 July 1961(1961-07-31)
  • 31 August 1962(1962-08-31)
  • 30 September 1963(1963-09-30)
  • 31 October 1964(1964-10-31)
  • 30 November 1965(1965-11-30)
  • 31 December 1966(1966-12-31)

What if both mf and df are set?

  • December 31, 1966(1966-12-31)
  • September 13, 1999(1999-09-13)
  • May 21, 1823(1823-05-21)
  • December 25, 4(4-12-25)

Bogus dates

  • 31 February 1948(1948-02-31)
  • 31 April 1943(1943-04-31)
  • 31 June 1953(1953-06-31)
  • 31 September 1980(1980-09-31)
  • 31 November 1977(1977-11-31)
  • 777 December 1994(1994-12-777)