Le 7 mai 2010 à 21:02, Frank Niessink a écrit : > 2010/5/7 Jérôme Laheurte <[email protected]>: > > Just tried it and found two issues: > > > > * If a task has no start date, it gets one (the date and time the file > > is opened), because of the special meaning for None in the constructor. > > We need a special value meaning "no actual date" instead of "figure it > > out"... > > I suppose the default value in Task.__init__ should be "no actual > date" and then the NewTaskCommand can pass it the date.Now() value for > startDate. > > > * The time defaulting to 00:00 produces some interesting problems; for > > instance, a task which starts today and is due today becomes overdue. I > > think that for the due date case, the default should be 23:59, don't you > > think ? > > I agree. I'll look into it. > > By the way, did you test the syncing? I made those changes without > automated tests and without testing, so... :-/
Done. I was wrong, changing the format specifier to 't' instead of 'd' works... Cheers Jérôme
