Changeset 2953 for pykota/trunk/pykota/storage.py
- Timestamp:
- 06/20/06 23:01:00 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storage.py
r2945 r2953 745 745 if start and end and (start > end) : 746 746 (start, end) = (end, start) 747 try : 748 if len(start) == 17 : 749 start = "%s-%s-%s %s" % (start[0:4], start[4:6], start[6:8], start[9:]) 750 except TypeError : 751 pass 752 753 try : 754 if len(end) == 17 : 755 end = "%s-%s-%s %s" % (end[0:4], end[4:6], end[6:8], end[9:]) 756 except TypeError : 757 pass 758 747 759 return (start, end) 748 760