bugyaGTD - Yet Another Getting Things Done. - Bugs: bug #13340, Reassigned to another tracker...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #13340: Reassigned to another tracker [was: today command ]

Submitted by:  Hu Songtao <idisblueflash>
Submitted on:  Tue Apr 7 10:46:09 2009  
Category: NoneSeverity: 1 - Wish
Priority: 5 - NormalStatus: In Progress
Privacy: PublicAssigned to: MiKaël NAVARRO <klnavarro>
Open/Closed: Closed

Wed Apr 15 07:04:52 2009, comment #3:


Please, do not post any new comments to this item.

MiKaël NAVARRO <klnavarro>
Project AdministratorIn charge of this item.
Sun Apr 12 07:28:38 2009, comment #2:

[added the today command]

def do_today(self, nb):
"""Sort #nb tasks by priority, and shows only today(the time now before):
GTD> today [#nb]"""
# Parse command line
nb = self._parse_args(nb)[0]

tasks = [ t for t in self.todo.sort() if t['complete'] < 100 ]
if nb: # display only nb tasks
tasks = tasks[:nb]

for t in tasks:
today = datetime.datetime.now()
if t['due']:
if t['due'] <= today:
print self._disp(t)
print self._disp(t)

Hu Songtao <idisblueflash>
Fri Apr 10 14:06:42 2009, comment #1:

I hacked it with the code below.
When you run: sort, it will sort on today's and before todos.

795 tasks = [ t for t in self.todo.sort() if t['complete'] < 100 ]
796 if nb: # display only nb tasks
797 tasks = tasks[:nb]
799 for t in tasks:
800 today = datetime.datetime.now()
801 if t['due']:
802 if t['due'] <= today:
803 print self._disp(t)
804 else:
805 print self._disp(t)

Hu Songtao <idisblueflash>
Tue Apr 7 10:46:09 2009, original submission:


yaGTD is the best GTD software that i have never used.

I think I need a new today command to list the todos only in today, and due in today.

Hu Songtao <idisblueflash>


No files currently attached


Depends on the following items

   task dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by klnavarro (Updated the item)
  • -unavailable- added by idisblueflash (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Apr 15 07:04:52 2009klnavarroReassign ItemyaGTD - Yet Another Getting Things Done., bug #13340=>yaGTD - Yet Another Getting Things Done., task #6586
    Tue Apr 14 20:50:17 2009klnavarroStatusConfirmed=>In Progress
    Tue Apr 14 20:42:54 2009klnavarroDependencies-=>Depends on task #6513
    Wed Apr 8 20:32:42 2009klnavarroStatusNone=>Confirmed
      Assigned toNone=>klnavarro
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup