Template:Birth date/testcases

From Wikipedia, the free encyclopedia
Jump to: navigation, search

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

International format (df=yes)[edit]

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

American format (mf=yes)[edit]

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

Default (International) format (no parameter)[edit]

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

What if both mf and df are set?[edit]

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

Using year, month, day parameters[edit]

  • (1966-12-31)December 31, 1966
  • (1966-12-31)December 31, 1966
  • (1966-12-31)December 31, 1966

Day first

  • (1966-12-31)31 December 1966
  • (1966-12-31)31 December 1966
  • (1966-12-31)31 December 1966

Bogus dates[edit]

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