Module talk:Date time/testcases

43 of 241 live tests failed. 91 of 241 sandbox tests failed. (refresh)

test_01_valid

test_01_valid
Test Live Sandbox Expected
checkYcheckY {{#invoke:Date time|validate_date_time|1999}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|2}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|02|1}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|02|01|5}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|02|01|5|3}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|02|01|5|3|2}}

test_02_min_max_values

test_02_min_max_values
Test Live Sandbox Expected
checkYcheckY {{#invoke:Date time|validate_date_time|1999|1}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|12}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|02|01|00}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|02|01|23}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|02|01|00|00}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|02|01|23|59}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|02|01|00|00}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|02|01|23|59}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|1|31}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|2|28}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|3|31}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|4|30}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|5|31}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|6|30}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|7|31}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|8|31}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|9|30}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|10|31}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|11|30}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|12|31}}

test_03_leap_year

test_03_leap_year
Test Live Sandbox Expected
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|29}}

test_04_leading_zeros

test_04_leading_zeros
Test Live Sandbox Expected
checkYcheckY {{#invoke:Date time|validate_date_time|1999|02}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|02|01}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|02|01|05}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|02|01|05|05}}
checkYcheckY {{#invoke:Date time|validate_date_time|1999|02|01|05|05|05}}

test_05_timezone

test_05_timezone
Test Live Sandbox Expected
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||Z}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||−12:00}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||−02:30}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||−02:00}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||−01:30}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||−01:00}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||+00:00}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||+01:00}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||+01:30}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||+14:00}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||−12}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||−02}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||−01}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||+00}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||+01}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||+14}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||−2:30}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||−2:00}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||−1:30}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||−1:00}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||+0:00}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||+1:00}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||-12:00}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||-12}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||-01:30}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||-1:30}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||-01:00}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|01|10|||-1:00}}

test_06_df

test_06_df
Test Live Sandbox Expected
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|29|df=yes}}
checkYcheckY {{#invoke:Date time|validate_date_time|2000|02|29|df=y}}

test_09_errors

test_09_errors
Test Live Sandbox Expected
checkY☒N {{#invoke:Date time|validate_date_time|}} <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|3=20}} <strong class="error">Error: Month value is required when a day is provided</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Month value is required when a day is provided</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Month value is required when a day is provided</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|-1}} <strong class="error">Error: Value is not a valid month</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid month</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid month</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|13}} <strong class="error">Error: Value is not a valid month</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid month</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid month</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|01|-1}} <strong class="error">Error: Value is not a valid day (Month 1 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid day (Month 1 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid day (Month 1 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|32}} <strong class="error">Error: Value is not a valid day (Month 1 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid day (Month 1 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid day (Month 1 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|2|29}} <strong class="error">Error: Value is not a valid day (Month 2 has 28 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid day (Month 2 has 28 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid day (Month 2 has 28 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|3|32}} <strong class="error">Error: Value is not a valid day (Month 3 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid day (Month 3 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid day (Month 3 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|4|31}} <strong class="error">Error: Value is not a valid day (Month 4 has 30 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid day (Month 4 has 30 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid day (Month 4 has 30 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|5|32}} <strong class="error">Error: Value is not a valid day (Month 5 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid day (Month 5 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid day (Month 5 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|6|31}} <strong class="error">Error: Value is not a valid day (Month 6 has 30 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid day (Month 6 has 30 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid day (Month 6 has 30 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|7|32}} <strong class="error">Error: Value is not a valid day (Month 7 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid day (Month 7 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid day (Month 7 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|8|32}} <strong class="error">Error: Value is not a valid day (Month 8 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid day (Month 8 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid day (Month 8 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|9|31}} <strong class="error">Error: Value is not a valid day (Month 9 has 30 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid day (Month 9 has 30 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid day (Month 9 has 30 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|10|32}} <strong class="error">Error: Value is not a valid day (Month 10 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid day (Month 10 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid day (Month 10 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|11|31}} <strong class="error">Error: Value is not a valid day (Month 11 has 30 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid day (Month 11 has 30 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid day (Month 11 has 30 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|12|32}} <strong class="error">Error: Value is not a valid day (Month 12 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid day (Month 12 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid day (Month 12 has 31 days)</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|010}} <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|020}} <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|010}} <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|023}} <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|2|033}} <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|001}} <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|002}} <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|001}} <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|3|002}} <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|3|1|003}} <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Values cannot have unnecessary leading zeros</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|-1}} <strong class="error">Error: Value is not a valid hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|-2}} <strong class="error">Error: Value is not a valid minute</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid minute</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid minute</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|2|-3}} <strong class="error">Error: Value is not a valid second</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid second</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid second</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|25}} <strong class="error">Error: Value is not a valid hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|60}} <strong class="error">Error: Value is not a valid minute</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid minute</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid minute</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|2|60}} <strong class="error">Error: Value is not a valid second</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid second</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid second</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2||30}} <strong class="error">Error: Minutes and seconds require an hour value</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Minutes and seconds require an hour value</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Minutes and seconds require an hour value</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|||05}} <strong class="error">Error: Minutes and seconds require an hour value</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Minutes and seconds require an hour value</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Minutes and seconds require an hour value</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|2|59|-13:00}} <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|2|59|+15:00}} <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|2|59|-13}} <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|2|59|+15}} <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|2|59|-00:00}} <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|2|59|-00}} <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|2|59|ABC}} <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|2|59|05:00}} <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|2|59|005:00}} <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|2|59|05:000}} <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2|1|2|59|05:00:00}} <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Value is not a valid timezone</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2||||+04:00}} <strong class="error">Error: A timezone cannot be set without a day and hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: A timezone cannot be set without a day and hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: A timezone cannot be set without a day and hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|abc|1|2}} <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|abc|2}} <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|2|abc}} <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|2|3|abc}} <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|2|3|4|abc}} <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|2|3|4|5|abc}} <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1.5|2}} <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|1999|1|2.}} <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: All values must be integers</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|2000|02|29|df=no}} <strong class="error">Error: df must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: df must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: df must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|2000|02|29|df=Y}} <strong class="error">Error: df must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: df must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: df must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|2000|02|29|p=no}} <strong class="error">Error: p must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: p must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: p must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|2000|02|29|p=Y}} <strong class="error">Error: p must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: p must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: p must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|2000|02|29|paren=no}} <strong class="error">Error: paren must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: paren must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: paren must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|2000|02|29|p=Y|paren=no}} <strong class="error">Error: Duplicate parameters used: p and paren</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Duplicate parameters used: p and paren</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Duplicate parameters used: p and paren</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|2000|02|29|p=y|paren=no}} <strong class="error">Error: Duplicate parameters used: p and paren</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Duplicate parameters used: p and paren</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Duplicate parameters used: p and paren</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|2000|02|29|br=no}} <strong class="error">Error: br must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: br must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: br must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|validate_date_time|2000|02|29|br=Y}} <strong class="error">Error: br must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: br must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: br must be either "yes" or "y"</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]

test_10_generate_date_valid_start_date

test_10_generate_date_valid_start_date
Test Live Sandbox Expected
checkYcheckY {{#invoke:Date time|generate_date|2000}} 2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000</span>)</span> 2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000</span>)</span> 2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02}} February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02</span>)</span> February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02</span>)</span> February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|29}} February&nbsp;29,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29</span>)</span> February&nbsp;29,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29</span>)</span> February&nbsp;29,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|df=yes}} February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02</span>)</span> February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02</span>)</span> February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|29|df=y}} 29&nbsp;February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29</span>)</span> 29&nbsp;February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29</span>)</span> 29&nbsp;February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|29|11}} 11:00,&#32;February&nbsp;29,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:00:00</span>)</span> 11:00,&#32;February&nbsp;29,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:00:00</span>)</span> 11:00,&#32;February&nbsp;29,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:00:00</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|29|11|5}} 11:05,&#32;February&nbsp;29,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:00</span>)</span> 11:05,&#32;February&nbsp;29,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:00</span>)</span> 11:05,&#32;February&nbsp;29,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:00</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|29|11|5|29}} 11:05:29,&#32;February&nbsp;29,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29</span>)</span> 11:05:29,&#32;February&nbsp;29,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29</span>)</span> 11:05:29,&#32;February&nbsp;29,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|29|11|5|29|Z}} 11:05:29,&#32;February&nbsp;29,&nbsp;2000&#32;(UTC)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29Z</span>)</span> 11:05:29,&#32;February&nbsp;29,&nbsp;2000&#32;(UTC)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29Z</span>)</span> 11:05:29,&#32;February&nbsp;29,&nbsp;2000&#32;(UTC)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29Z</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|29|11|5|29|+5:00}} 11:05:29,&#32;February&nbsp;29,&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29+05:00</span>)</span> 11:05:29,&#32;February&nbsp;29,&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29+05:00</span>)</span> 11:05:29,&#32;February&nbsp;29,&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29+05:00</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|29|11|df=y}} 11:00,&#32;29&nbsp;February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:00:00</span>)</span> 11:00,&#32;29&nbsp;February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:00:00</span>)</span> 11:00,&#32;29&nbsp;February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:00:00</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|29|11|5|df=y}} 11:05,&#32;29&nbsp;February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:00</span>)</span> 11:05,&#32;29&nbsp;February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:00</span>)</span> 11:05,&#32;29&nbsp;February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:00</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|29|11|5|29|df=y}} 11:05:29,&#32;29&nbsp;February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29</span>)</span> 11:05:29,&#32;29&nbsp;February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29</span>)</span> 11:05:29,&#32;29&nbsp;February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|29|11|5|29|Z|df=y}} 11:05:29,&#32;29&nbsp;February&nbsp;2000&#32;(UTC)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29Z</span>)</span> 11:05:29,&#32;29&nbsp;February&nbsp;2000&#32;(UTC)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29Z</span>)</span> 11:05:29,&#32;29&nbsp;February&nbsp;2000&#32;(UTC)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29Z</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|29|11|5|29|+5:00|df=y}} 11:05:29,&#32;29&nbsp;February&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29+05:00</span>)</span> 11:05:29,&#32;29&nbsp;February&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29+05:00</span>)</span> 11:05:29,&#32;29&nbsp;February&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T11:05:29+05:00</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|29|5|2|3|+5:00|df=y}} 05:02:03,&#32;29&nbsp;February&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T05:02:03+05:00</span>)</span> 05:02:03,&#32;29&nbsp;February&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T05:02:03+05:00</span>)</span> 05:02:03,&#32;29&nbsp;February&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-29T05:02:03+05:00</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|01|5|2|3|+5:00}} 05:02:03,&#32;February&nbsp;1,&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-01T05:02:03+05:00</span>)</span> 05:02:03,&#32;February&nbsp;1,&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-01T05:02:03+05:00</span>)</span> 05:02:03,&#32;February&nbsp;1,&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-01T05:02:03+05:00</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|02|01|5|2|3|+5:00|df=y}} 05:02:03,&#32;1&nbsp;February&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-01T05:02:03+05:00</span>)</span> 05:02:03,&#32;1&nbsp;February&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-01T05:02:03+05:00</span>)</span> 05:02:03,&#32;1&nbsp;February&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-01T05:02:03+05:00</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|2}} February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02</span>)</span> February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02</span>)</span> February&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|2|1}} February&nbsp;1,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-01</span>)</span> February&nbsp;1,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-01</span>)</span> February&nbsp;1,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-02-01</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|11}} November&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-11</span>)</span> November&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-11</span>)</span> November&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-11</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|2000|11|30}} November&nbsp;30,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-11-30</span>)</span> November&nbsp;30,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-11-30</span>)</span> November&nbsp;30,&nbsp;2000<span style="display: none;">&nbsp;(<span class="bday dtstart published updated itvstart">2000-11-30</span>)</span>

test_11_generate_date_valid_end_date

test_11_generate_date_valid_end_date
Test Live Sandbox Expected
checkYcheckY {{#invoke:Date time|generate_date|template=end date|2000|02|29|11|5|29|+5:00}} 11:05:29,&#32;February&nbsp;29,&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="dtend itvend">2000-02-29T11:05:29+05:00</span>)</span> 11:05:29,&#32;February&nbsp;29,&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="dtend itvend">2000-02-29T11:05:29+05:00</span>)</span> 11:05:29,&#32;February&nbsp;29,&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="dtend itvend">2000-02-29T11:05:29+05:00</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=end date|2000|02|29|11|5|29|+5:00|df=y}} 11:05:29,&#32;29&nbsp;February&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="dtend itvend">2000-02-29T11:05:29+05:00</span>)</span> 11:05:29,&#32;29&nbsp;February&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="dtend itvend">2000-02-29T11:05:29+05:00</span>)</span> 11:05:29,&#32;29&nbsp;February&nbsp;2000&#32;(+05:00)<span style="display: none;">&nbsp;(<span class="dtend itvend">2000-02-29T11:05:29+05:00</span>)</span>

test_12_generate_date_valid_date_display

test_12_generate_date_valid_date_display
Test Live Sandbox Expected
checkYcheckY {{#invoke:Date time|generate_date|2000|02|01|5|2|3|+5:00}} 05:02:03, February 1, 2000 (+05:00) (2000-02-01T05:02:03+05:00) 05:02:03, February 1, 2000 (+05:00) (2000-02-01T05:02:03+05:00) 05:02:03, February 1, 2000 (+05:00) (2000-02-01T05:02:03+05:00)
checkYcheckY {{#invoke:Date time|generate_date|2000|02|01|5|2|3|+5:00|df=y}} 05:02:03, 1 February 2000 (+05:00) (2000-02-01T05:02:03+05:00) 05:02:03, 1 February 2000 (+05:00) (2000-02-01T05:02:03+05:00) 05:02:03, 1 February 2000 (+05:00) (2000-02-01T05:02:03+05:00)
checkYcheckY {{#invoke:Date time|generate_date|template=end date|2000|02|01|5|2|3|+5:00}} 05:02:03, February 1, 2000 (+05:00) (2000-02-01T05:02:03+05:00) 05:02:03, February 1, 2000 (+05:00) (2000-02-01T05:02:03+05:00) 05:02:03, February 1, 2000 (+05:00) (2000-02-01T05:02:03+05:00)
checkYcheckY {{#invoke:Date time|generate_date|template=end date|2000|02|01|5|2|3|+5:00|df=y}} 05:02:03, 1 February 2000 (+05:00) (2000-02-01T05:02:03+05:00) 05:02:03, 1 February 2000 (+05:00) (2000-02-01T05:02:03+05:00) 05:02:03, 1 February 2000 (+05:00) (2000-02-01T05:02:03+05:00)

test_15_generate_date_invalid

test_15_generate_date_invalid
Test Live Sandbox Expected
checkY☒N {{#invoke:Date time|generate_date|}} <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|generate_date||02}} <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|generate_date||02|29}} <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|generate_date||||11}} <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|generate_date||||11|5}} <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|generate_date||||11|5|29}} <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|generate_date||||11|5|29|Z}} <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|generate_date|||||||Z}} <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|generate_date|2000||||||Z}} <strong class="error">Error: A timezone cannot be set without a day and hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: A timezone cannot be set without a day and hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: A timezone cannot be set without a day and hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|generate_date|2000|5|||||Z}} <strong class="error">Error: A timezone cannot be set without a day and hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: A timezone cannot be set without a day and hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: A timezone cannot be set without a day and hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|generate_date|2000|5|6||||Z}} <strong class="error">Error: A timezone cannot be set without a day and hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: A timezone cannot be set without a day and hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: A timezone cannot be set without a day and hour</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|generate_date|2000|5|6||5||Z}} <strong class="error">Error: Minutes and seconds require an hour value</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Minutes and seconds require an hour value</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Minutes and seconds require an hour value</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|generate_date|2000|5|6||5|3|Z}} <strong class="error">Error: Minutes and seconds require an hour value</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">ERROR: Minutes and seconds require an hour value</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Minutes and seconds require an hour value</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
checkY☒N {{#invoke:Date time|generate_date|template=start date text|2000|02|29|11|5|29|+5:00|df=y}} <strong class="error">Error: Template not supported</strong> <small>[[:Template:start date text|(help)]]</small> <strong class="error">ERROR: Template not supported</strong> <small>[[:Template:start date text|(help)]]</small> <strong class="error">Error: Template not supported</strong> <small>[[:Template:start date text|(help)]]</small>

test_20_generate_start_date_age_valid

test_20_generate_start_date_age_valid
Test Live Sandbox Expected
checkYcheckY {{#invoke:Date time|generate_date|template=start date and age|1999}} 1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999</span>)</span> 1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999</span>)</span> 1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=start date and age|1999|2}} February&nbsp;1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02</span>)</span> February&nbsp;1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02</span>)</span> February&nbsp;1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=start date and age|1999|2|1}} February&nbsp;1,&nbsp;1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02-01</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=start date and age|1999|br=y}} 1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999</span>)</span> 1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999</span>)</span> 1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=start date and age|1999|2|br=y}} February&nbsp;1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02</span>)</span> February&nbsp;1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02</span>)</span> February&nbsp;1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=start date and age|1999|2|1|br=y}} February&nbsp;1,&nbsp;1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02-01</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=start date and age|1999|p=y}} 1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999</span>)</span> 1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999</span>)</span> 1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=start date and age|1999|2|p=y}} February&nbsp;1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02</span>)</span> February&nbsp;1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02</span>)</span> February&nbsp;1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=start date and age|1999|2|1|p=y}} February&nbsp;1,&nbsp;1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02-01</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=start date and age|1999|p=y|br=y}} 1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999</span>)</span> 1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999</span>)</span> 1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=start date and age|1999|2|p=y|br=y}} February&nbsp;1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02</span>)</span> February&nbsp;1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02</span>)</span> February&nbsp;1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=start date and age|1999|2|1|p=y|br=y}} February&nbsp;1,&nbsp;1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">1999-02-01</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=start date and age|2026}} 2026<span class="noprint">;&#32;0 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">2026</span>)</span> 2026<span class="noprint">;&#32;0 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">2026</span>)</span> 2026<span class="noprint">;&#32;0 years ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">2026</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=start date and age|2026|06}} June&nbsp;2026<span class="noprint">;&#32;0 months ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">2026-06</span>)</span> June&nbsp;2026<span class="noprint">;&#32;0 months ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">2026-06</span>)</span> June&nbsp;2026<span class="noprint">;&#32;0 months ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">2026-06</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=start date and age|2026|06|08}} June&nbsp;8,&nbsp;2026<span class="noprint">;&#32;0 days ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">2026-06-08</span>)</span> June&nbsp;8,&nbsp;2026<span class="noprint">;&#32;0 days ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">2026-06-08</span>)</span> June&nbsp;8,&nbsp;2026<span class="noprint">;&#32;0 days ago</span><span style="display: none;">&nbsp;(<span class="bday dtstart published updated">2026-06-08</span>)</span>

test_21_generate_end_date_age_valid

test_21_generate_end_date_age_valid
Test Live Sandbox Expected
checkYcheckY {{#invoke:Date time|generate_date|template=end date and age|1999}} 1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999</span>)</span> 1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999</span>)</span> 1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=end date and age|1999|2}} February&nbsp;1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02</span>)</span> February&nbsp;1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02</span>)</span> February&nbsp;1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=end date and age|1999|2|1}} February&nbsp;1,&nbsp;1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint">;&#32;27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02-01</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=end date and age|1999|br=y}} 1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999</span>)</span> 1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999</span>)</span> 1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=end date and age|1999|2|br=y}} February&nbsp;1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02</span>)</span> February&nbsp;1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02</span>)</span> February&nbsp;1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=end date and age|1999|2|1|br=y}} February&nbsp;1,&nbsp;1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint">;<br/>27 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02-01</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=end date and age|1999|p=y}} 1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999</span>)</span> 1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999</span>)</span> 1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=end date and age|1999|2|p=y}} February&nbsp;1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02</span>)</span> February&nbsp;1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02</span>)</span> February&nbsp;1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=end date and age|1999|2|1|p=y}} February&nbsp;1,&nbsp;1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint">&#32;(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02-01</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=end date and age|1999|p=y|br=y}} 1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999</span>)</span> 1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999</span>)</span> 1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=end date and age|1999|2|p=y|br=y}} February&nbsp;1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02</span>)</span> February&nbsp;1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02</span>)</span> February&nbsp;1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=end date and age|1999|2|1|p=y|br=y}} February&nbsp;1,&nbsp;1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02-01</span>)</span> February&nbsp;1,&nbsp;1999<span class="noprint"><br/>(27 years ago)</span><span style="display: none;">&nbsp;(<span class="dtend">1999-02-01</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=end date and age|2026}} 2026<span class="noprint">;&#32;0 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">2026</span>)</span> 2026<span class="noprint">;&#32;0 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">2026</span>)</span> 2026<span class="noprint">;&#32;0 years ago</span><span style="display: none;">&nbsp;(<span class="dtend">2026</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=end date and age|2026|06}} June&nbsp;2026<span class="noprint">;&#32;0 months ago</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06</span>)</span> June&nbsp;2026<span class="noprint">;&#32;0 months ago</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06</span>)</span> June&nbsp;2026<span class="noprint">;&#32;0 months ago</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06</span>)</span>
checkYcheckY {{#invoke:Date time|generate_date|template=end date and age|2026|06|08}} June&nbsp;8,&nbsp;2026<span class="noprint">;&#32;0 days ago</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06-08</span>)</span> June&nbsp;8,&nbsp;2026<span class="noprint">;&#32;0 days ago</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06-08</span>)</span> June&nbsp;8,&nbsp;2026<span class="noprint">;&#32;0 days ago</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06-08</span>)</span>

test_22_generate_date_range_valid

test_22_generate_date_range_valid
Test Live Sandbox Expected
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11|12|2008|11|27}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November&nbsp;12–27,&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11-27</span>)</span> November&nbsp;12–27,&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11-27</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11|12|2008|11|27|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> 12–27&nbsp;November&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11-27</span>)</span> 12–27&nbsp;November&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11-27</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11|12|2008|12|27}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November&nbsp;12&#32;–&#32;December&nbsp;27,&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12-27</span>)</span> November&nbsp;12&#32;–&#32;December&nbsp;27,&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12-27</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11|12|2008|12|27|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> 12&nbsp;November&#32;–&#32;27&nbsp;December&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12-27</span>)</span> 12&nbsp;November&#32;–&#32;27&nbsp;December&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12-27</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11|12|2010|12|27}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November&nbsp;12,&nbsp;2008&#32;–&#32;December&nbsp;27,&nbsp;2010<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2010-12-27</span>)</span> November&nbsp;12,&nbsp;2008&#32;–&#32;December&nbsp;27,&nbsp;2010<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2010-12-27</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11|12|2010|12|27|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> 12&nbsp;November&nbsp;2008&#32;–&#32;27&nbsp;December&nbsp;2010<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2010-12-27</span>)</span> 12&nbsp;November&nbsp;2008&#32;–&#32;27&nbsp;December&nbsp;2010<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2010-12-27</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11|12|present}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November&nbsp;12,&nbsp;2008&#32;–&#32;present<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06-08</span>)</span> November&nbsp;12,&nbsp;2008&#32;–&#32;present<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06-08</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11|12|present|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> 12&nbsp;November&nbsp;2008&#32;–&#32;present<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06-08</span>)</span> 12&nbsp;November&nbsp;2008&#32;–&#32;present<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06-08</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11||present}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November&nbsp;2008&#32;–&#32;present<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06-08</span>)</span> November&nbsp;2008&#32;–&#32;present<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06-08</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11||present|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November&nbsp;2008&#32;–&#32;present<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06-08</span>)</span> November&nbsp;2008&#32;–&#32;present<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06-08</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|||present}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> 2008–present<span style="display: none;">&nbsp;(<span class="dtstart">2008</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06-08</span>)</span> 2008–present<span style="display: none;">&nbsp;(<span class="dtstart">2008</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06-08</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|||present|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> 2008–present<span style="display: none;">&nbsp;(<span class="dtstart">2008</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06-08</span>)</span> 2008–present<span style="display: none;">&nbsp;(<span class="dtstart">2008</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2026-06-08</span>)</span>

test_23_generate_date_range_partial_dates

test_23_generate_date_range_partial_dates
Test Live Sandbox Expected
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11|12|2009|}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November&nbsp;12,&nbsp;2008&#32;–&#32;2009<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2009</span>)</span> November&nbsp;12,&nbsp;2008&#32;–&#32;2009<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2009</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11|12|2009||df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> 12&nbsp;November&nbsp;2008&#32;–&#32;2009<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2009</span>)</span> 12&nbsp;November&nbsp;2008&#32;–&#32;2009<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2009</span>)</span>
☒N☒N {{#invoke:Date time|generate_date_range|2008|11|12|2008|}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> <strong class="error">ERROR: End date is before start date</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
☒N☒N {{#invoke:Date time|generate_date_range|2008|11|12|2008||df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> <strong class="error">ERROR: End date is before start date</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11|12|2009|11}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November&nbsp;12,&nbsp;2008&#32;–&#32;November&nbsp;2009<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2009-11</span>)</span> November&nbsp;12,&nbsp;2008&#32;–&#32;November&nbsp;2009<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2009-11</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11|12|2009|11|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> 12&nbsp;November&nbsp;2008&#32;–&#32;November&nbsp;2009<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2009-11</span>)</span> 12&nbsp;November&nbsp;2008&#32;–&#32;November&nbsp;2009<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2009-11</span>)</span>
☒N☒N {{#invoke:Date time|generate_date_range|2008|11|12|2008|11}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> <strong class="error">ERROR: End date is before start date</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
☒N☒N {{#invoke:Date time|generate_date_range|2008|11|12|2008|11|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> <strong class="error">ERROR: End date is before start date</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11|12|2008|12}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November&nbsp;12,&nbsp;2008&#32;–&#32;December&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12</span>)</span> November&nbsp;12,&nbsp;2008&#32;–&#32;December&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11|12|2008|12|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> 12&nbsp;November&nbsp;2008&#32;–&#32;December&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12</span>)</span> 12&nbsp;November&nbsp;2008&#32;–&#32;December&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11-12</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|||2009|11|27}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> 2008&#32;–&#32;November&nbsp;27,&nbsp;2009<span style="display: none;">&nbsp;(<span class="dtstart">2008</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2009-11-27</span>)</span> 2008&#32;–&#32;November&nbsp;27,&nbsp;2009<span style="display: none;">&nbsp;(<span class="dtstart">2008</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2009-11-27</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|||2009|11|27|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> 2008&#32;–&#32;27&nbsp;November&nbsp;2009<span style="display: none;">&nbsp;(<span class="dtstart">2008</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2009-11-27</span>)</span> 2008&#32;–&#32;27&nbsp;November&nbsp;2009<span style="display: none;">&nbsp;(<span class="dtstart">2008</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2009-11-27</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|||2008|11|27}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> 2008&#32;–&#32;November&nbsp;27,&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11-27</span>)</span> 2008&#32;–&#32;November&nbsp;27,&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11-27</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|||2008|11|27|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> 2008&#32;–&#32;27&nbsp;November&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11-27</span>)</span> 2008&#32;–&#32;27&nbsp;November&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11-27</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11||2008|11|27}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November&nbsp;2008&#32;–&#32;November&nbsp;27,&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11-27</span>)</span> November&nbsp;2008&#32;–&#32;November&nbsp;27,&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11-27</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11||2008|11|27|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November&nbsp;2008&#32;–&#32;27&nbsp;November&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11-27</span>)</span> November&nbsp;2008&#32;–&#32;27&nbsp;November&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11-27</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11||2008|12|27}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November&nbsp;2008&#32;–&#32;December&nbsp;27,&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12-27</span>)</span> November&nbsp;2008&#32;–&#32;December&nbsp;27,&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12-27</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11||2008|12|27|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November&nbsp;2008&#32;–&#32;27&nbsp;December&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12-27</span>)</span> November&nbsp;2008&#32;–&#32;27&nbsp;December&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12-27</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11||2008|11}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November–November&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11</span>)</span> November–November&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11||2008|11|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November–November&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11</span>)</span> November–November&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-11</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11||2008|12}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November–December&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12</span>)</span> November–December&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12</span>)</span>
☒NcheckY {{#invoke:Date time|generate_date_range|2008|11||2008|12|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> November–December&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12</span>)</span> November–December&nbsp;2008<span style="display: none;">&nbsp;(<span class="dtstart">2008-11</span>)</span><span style="display: none;">&nbsp;(<span class="dtend">2008-12</span>)</span>

test_24_generate_date_range_invalid

test_24_generate_date_range_invalid
Test Live Sandbox Expected
☒N☒N {{#invoke:Date time|generate_date_range|}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
☒N☒N {{#invoke:Date time|generate_date_range|2000}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
☒N☒N {{#invoke:Date time|generate_date_range|2000|2}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
☒N☒N {{#invoke:Date time|generate_date_range|2000|2|1}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
☒N☒N {{#invoke:Date time|generate_date_range||||2000}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
☒N☒N {{#invoke:Date time|generate_date_range||||2000|2}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
☒N☒N {{#invoke:Date time|generate_date_range||||2000|2|1}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> <strong class="error">ERROR: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: Year value is required</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
☒N☒N {{#invoke:Date time|generate_date_range|2008|11|27|2008|11|12}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> <strong class="error">ERROR: End date is before start date</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: End date is before start date</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]
☒N☒N {{#invoke:Date time|generate_date_range|2008|11|27|2008|11|12|df=yes}} <strong class="error"><span class="scribunto-error mw-scribunto-error-d35935e3">Script error: The function &quot;generate_date_range&quot; does not exist.</span></strong> <strong class="error">ERROR: End date is before start date</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]] <strong class="error">Error: End date is before start date</strong> <small>[[:Template:start date|(help)]]</small>[[Category:Pages using Module:Date time with invalid values]]

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.