Message626
For displaying (as an example) due dates (as opposed to
Activity, which is always in the past),
date.Interval.pretty() does not handle the Interval
sign in a consistent manner. A few possibilities do
("tomorrow/yesterday"), but just noticed in our tracker
we have two items due in "2 days", except one is two
days overdue and the other is two days in the future.
Really simple fix diff attached below (this is diffed
as part of my other modifications in "date.py
modifications bug against 0.5.5 source, so if the line
numbers are off, this goes in Interval.pretty()
immediately before "return s", line 463 in the 0.5.5
original):
...site-packages/roundup# diff date.py date_orig.py
490,491d463
< if self.sign < 0:
< s = s + _(' ago')
|
|
Date |
User |
Action |
Args |
2009-02-03 14:20:14 | admin | link | issue679232 messages |
2009-02-03 14:20:14 | admin | create | |
|