Difference between revisions of "Template:Birth date and age/testcases"
Jump to navigation
Jump to search
imported>Islander99 (remove testing for mf=yes, since template doesn't check for that) |
imported>Islander99 (add tests for month abbreviation with ma=yes or ma=y) |
||
| Line 46: | Line 46: | ||
* {{Birth date and age/sandbox|2010|3|7|year}} | * {{Birth date and age/sandbox|2010|3|7|year}} | ||
* {{Birth date and age/sandbox|2009|3|7|year}} | * {{Birth date and age/sandbox|2009|3|7|year}} | ||
| + | |||
| + | ==American format (default, no parameter) with month abbreviation (ma=yes)== | ||
| + | * {{Birth date and age/sandbox|2011|5|13|ma=yes}} | ||
| + | * {{Birth date and age/sandbox|2008|9|22|ma=yes}} | ||
| + | * {{Birth date and age/sandbox|1985|3|1|ma=yes1}} | ||
| + | * {{Birth date and age/sandbox|1898|12|23|ma=yes}} | ||
| + | * {{Birth date and age/sandbox|1955|1|31|ma=yes}} | ||
| + | * {{Birth date and age/sandbox|1956|2|29|ma=yes}} | ||
| + | * {{Birth date and age/sandbox|1957|3|31|ma=yes}} | ||
| + | * {{Birth date and age/sandbox|1958|4|30|ma=yes}} | ||
| + | * {{Birth date and age/sandbox|1959|5|31|ma=yes}} | ||
| + | * {{Birth date and age/sandbox|1960|6|30|ma=yes}} | ||
| + | * {{Birth date and age/sandbox|1961|7|31|ma=yes}} | ||
| + | * {{Birth date and age/sandbox|1962|8|31|ma=yes}} | ||
| + | * {{Birth date and age/sandbox|1963|9|30|ma=yes}} | ||
| + | * {{Birth date and age/sandbox|1964|10|31|ma=yes}} | ||
| + | * {{Birth date and age/sandbox|1965|11|30|ma=yes}} | ||
| + | * {{Birth date and age/sandbox|1966|12|31|ma=yes}} | ||
| + | |||
| + | ==International format (df=y) with month abbreviation (ma=y)== | ||
| + | * {{Birth date and age/sandbox|2011|5|13|df=y|ma=y}} | ||
| + | * {{Birth date and age/sandbox|2008|9|22|df=y|ma=y}} | ||
| + | * {{Birth date and age/sandbox|1985|3|11|df=y|ma=y}} | ||
| + | * {{Birth date and age/sandbox|1898|12|23|df=y|ma=y}} | ||
| + | * {{Birth date and age/sandbox|1955|1|31|df=y|ma=y}} | ||
| + | * {{Birth date and age/sandbox|1956|2|29|df=y|ma=y}} | ||
| + | * {{Birth date and age/sandbox|1957|3|31|df=y|ma=y}} | ||
| + | * {{Birth date and age/sandbox|1958|4|30|df=y|ma=y}} | ||
| + | * {{Birth date and age/sandbox|1959|5|31|df=y|ma=y}} | ||
| + | * {{Birth date and age/sandbox|1960|6|30|df=y|ma=y}} | ||
| + | * {{Birth date and age/sandbox|1961|7|31|df=y|ma=y}} | ||
| + | * {{Birth date and age/sandbox|1962|8|31|df=y|ma=y}} | ||
| + | * {{Birth date and age/sandbox|1963|9|30|df=y|ma=y}} | ||
| + | * {{Birth date and age/sandbox|1964|10|31|df=y|ma=y}} | ||
| + | * {{Birth date and age/sandbox|1965|11|30|df=y|ma=y}} | ||
| + | * {{Birth date and age/sandbox|1966|12|31|df=y|ma=y}} | ||
Revision as of 15:45, 25 March 2011
The following test cases use {{Birth date and age/sandbox}}:
Contents
American format (default, no parameter)
- May 13, 2011
- September 22, 2008
- March 11, 1985
- December 23, 1898
- January 31, 1955
- February 29, 1956
- March 31, 1957
- April 30, 1958
- May 31, 1959
- June 30, 1960
- July 31, 1961
- August 31, 1962
- September 30, 1963
- October 31, 1964
- November 30, 1965
- December 31, 1966
International format (df=yes)
- 13 May 2011
- 22 September 2008
- 11 March 1985
- 23 December 1898
- 31 January 1955
- 29 February 1956
- 31 March 1957
- 30 April 1958
- 31 May 1959
- 30 June 1960
- 31 July 1961
- 31 August 1962
- 30 September 1963
- 31 October 1964
- 30 November 1965
- 31 December 1966
Bogus dates
- Error: Need valid birth date: year, month, day
- Error: Need valid birth date: year, month, day
- Error: Need valid birth date: year, month, day
- Error: Need valid birth date: year, month, day
- Error: Need valid birth date: year, month, day
- Error: Need valid birth date: year, month, day
- March 7, 2010
- March 7, 2009
American format (default, no parameter) with month abbreviation (ma=yes)
- May 13, 2011
- September 22, 2008
- March 1, 1985
- December 23, 1898
- January 31, 1955
- February 29, 1956
- March 31, 1957
- April 30, 1958
- May 31, 1959
- June 30, 1960
- July 31, 1961
- August 31, 1962
- September 30, 1963
- October 31, 1964
- November 30, 1965
- December 31, 1966
International format (df=y) with month abbreviation (ma=y)
- 13 May 2011
- 22 September 2008
- 11 March 1985
- 23 December 1898
- 31 January 1955
- 29 February 1956
- 31 March 1957
- 30 April 1958
- 31 May 1959
- 30 June 1960
- 31 July 1961
- 31 August 1962
- 30 September 1963
- 31 October 1964
- 30 November 1965
- 31 December 1966