Changeset 3207
- Timestamp:
- 06/22/2007 04:26:23 PM (1 year ago)
- Files:
-
- dj/dabo/ui/uiwx/dDateTextBox.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dj/dabo/ui/uiwx/dDateTextBox.py
r3205 r3207 466 466 467 467 if not passed: 468 try:469 (dt, tm) = val.split()470 (hr, mn, sec) = tm.split(":")471 hr = int(hr)472 mn = int(mn)473 sec = int(round(float(sec), 0) )474 isDateTime = True475 except:476 dt = val477 (hr, mn, sec) = (0, 0, 0)468 try: 469 (dt, tm) = val.split() 470 (hr, mn, sec) = tm.split(":") 471 hr = int(hr) 472 mn = int(mn) 473 sec = int(round(float(sec), 0) ) 474 isDateTime = True 475 except: 476 dt = val 477 (hr, mn, sec) = (0, 0, 0) 478 478 479 479 try:
