gtg-user team mailing list archive
Mailing list archive
[Merge] lp:~gtg-user/gtg/urgency-coding-api into lp:~gtg-user/gtg/urgency-color-api
Wolter Hellmund has proposed merging lp:~gtg-user/gtg/urgency-coding-api into lp:~gtg-user/gtg/urgency-color-api.
Gtg users (gtg-user)
For more details, see:
Accidentally pushed a revision to the urgency-coding-api branch, when it was previously moved to urgency-color-api, thus recreating it. This merge's purpose is to have both branches with the same revision to be able to subsequently delete the urgency-coding-api, which is merely the old name of the urgency-color-api branch.
Your team Gtg users is requested to review the proposed merge of lp:~gtg-user/gtg/urgency-coding-api into lp:~gtg-user/gtg/urgency-color-api.
=== modified file 'GTG/plugins/urgency_color/urgency_color.py'
--- GTG/plugins/urgency_color/urgency_color.py 2012-02-03 08:21:03 +0000
+++ GTG/plugins/urgency_color/urgency_color.py 2012-02-19 22:51:19 +0000
@@ -64,7 +64,8 @@
if daysleft == None \
and ddate.__class__.__name__ != 'RealDate':
- daysleft = (ddate.offset - date.today()).days
+ #daysleft = (ddate.offset - date.today()).days
+ daysleft = (ddate.days_left() - date.today()).days
color = 0
if daysleft <= dayspan:
color = 1