1
0
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:
Tim Graham 2024-01-09 12:08:03 -05:00 committed by GitHub
parent 6dae40839b
commit ecd3071dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)),
(