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 07 Apr 2009 10:46:09 AM UTC  
 
Category: NoneSeverity: 1 - Wish
Priority: 5 - NormalStatus: In Progress
Privacy: PublicAssigned to: MiKaël NAVARRO <klnavarro>
Open/Closed: Closed

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

THIS ITEM WAS REASSIGNED TO TASK #6586.

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


MiKaël NAVARRO <klnavarro>
Project AdministratorIn charge of this item.
Sun 12 Apr 2009 07:28:38 AM UTC, 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)
else:
print self._disp(t)

Hu Songtao <idisblueflash>
Fri 10 Apr 2009 02:06:42 PM UTC, 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]
798
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 07 Apr 2009 10:46:09 AM UTC, original submission:

THIS ITEM WAS REASSIGNED TO TASK #6586.

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

Digest:
   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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

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

    Back to the top


    Powered by Savane 3.1-cleanup