Ticket #10443: dt.diff
File dt.diff, 652 bytes (added by , 16 years ago) |
---|
-
django/db/models/fields/__init__.py
534 534 if '.' in value: 535 535 try: 536 536 value, usecs = value.split('.') 537 tz = None 538 if '+' in usecs: 539 usecs, tz = usecs.split('+') 540 elif '-' in usecs: 541 usecs, tz = usecs.split('-') 537 542 usecs = int(usecs) 538 543 except ValueError: 539 544 raise exceptions.ValidationError(