Fixed #18728 -- Made colon optional in tzinfo

Made two-digit hours and minutes mandatory in tzinfo (the code used
to crash if a one-digit representation was provided).

Added standalone tests for django.utils.dateparse.
This commit is contained in:
Aymeric Augustin 2012-08-19 21:47:41 +02:00
parent a43ecc0444
commit 2f59e94a41
3 changed files with 52 additions and 7 deletions

View file

@ -26,3 +26,4 @@ from .timezone import TimezoneTests
from .crypto import TestUtilsCryptoPBKDF2
from .archive import TestZip, TestTar, TestGzipTar, TestBzip2Tar
from .regex_helper import NormalizeTests
from .dateparse import DateParseTests