mirror of
https://github.com/django/django.git
synced 2024-12-22 09:05:43 +00:00
Fixed #35097 -- Tested parse_datetime() with bare date.
Regression test for behavior change in
f35ab74752
.
This commit is contained in:
parent
6dae40839b
commit
ecd3071dac
@ -46,6 +46,7 @@ class DateParseTests(unittest.TestCase):
|
||||
|
||||
def test_parse_datetime(self):
|
||||
valid_inputs = (
|
||||
("2012-04-23", datetime(2012, 4, 23)),
|
||||
("2012-04-23T09:15:00", datetime(2012, 4, 23, 9, 15)),
|
||||
("2012-4-9 4:8:16", datetime(2012, 4, 9, 4, 8, 16)),
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user