GTG

Comment 1 for bug 561449

Revision history for this message
Bryce Harrington (bryce) wrote : Re: date parsing broke

From dupe bug:

"""
Happened when tried to add "Test4 due:05-06-2010" in quick add.

Traceback (most recent call last):
  File "/usr/share/gtg/GTG/taskbrowser/browser.py", line 1352, in on_quickadd_activate
    due_date = self.get_canonical_date(args)
  File "/usr/share/gtg/GTG/taskbrowser/browser.py", line 825, in get_canonical_date
    if date == str(no_date):
  File "/usr/share/gtg/GTG/tools/dates.py", line 31, in __cmp__
    return cmp(self.to_py_date(), other.to_py_date())
AttributeError: 'str' object has no attribute 'to_py_date'
"""