From: <cl...@us...> - 2003-10-24 02:36:02
|
Update of /cvsroot/todo-manager/todo-manager In directory sc8-pr-cvs1:/tmp/cvs-serv12430 Modified Files: tdmcalls.py Log Message: This should eliminate any weird time coversion errors, that in turn can caused currupted task files. Index: tdmcalls.py =================================================================== RCS file: /cvsroot/todo-manager/todo-manager/tdmcalls.py,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- tdmcalls.py 13 Nov 2002 04:51:39 -0000 1.23 +++ tdmcalls.py 23 Oct 2003 23:54:03 -0000 1.24 @@ -162,9 +162,9 @@ def storetime(t): """Convert a tuple to the internal time storage format (YYYY-MM-DD hh:mm:ss)""" - if not t: return '' - x = check_time_values(t) + + if not x: return '' return time.strftime("%Y-%m-%d %H:%M:%S", x) |