projects
/
doneit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb477b1
)
Removing the bug notice on fuzzy date
author
Ed Page
<epage@Dulcinea.(none)>
Thu, 16 Apr 2009 02:55:52 +0000
(21:55 -0500)
committer
Ed Page
<epage@Dulcinea.(none)>
Thu, 16 Apr 2009 02:55:52 +0000
(21:55 -0500)
src/toolbox.py
patch
|
blob
|
history
diff --git
a/src/toolbox.py
b/src/toolbox.py
index
c629ed5
..
36f4ec8
100644
(file)
--- a/
src/toolbox.py
+++ b/
src/toolbox.py
@@
-137,8
+137,6
@@
def load_xml(source, alternative=None):
def to_fuzzy_date(targetDate, todaysDate = datetime.datetime.today()):
"""
Conert a date/time/datetime object to a fuzzy date
-
- @bug Not perfect, but good enough for now
"""
delta = targetDate - todaysDate
days = abs(delta.days)