74 # Operation scheduled |
74 # Operation scheduled |
75 when=status['when'] |
75 when=status['when'] |
76 now=time.time() |
76 now=time.time() |
77 if when<now: |
77 if when<now: |
78 whenstr='overdue' |
78 whenstr='overdue' |
|
79 detail='' |
79 else: |
80 else: |
80 diff=datetime.timedelta(seconds=when-now) |
81 diff=datetime.timedelta(seconds=when-now) |
81 if diff.days>0: |
82 if diff.days>0: |
82 whenday=datetime.date.fromtimestamp(when) |
83 whenday=datetime.date.fromtimestamp(when) |
83 whenstr='on %s' % whenday.isoformat() |
84 whenstr='on %s' % whenday.isoformat() |