trevorc / timebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

t list does not always provide correct "today" stat

trevorc opened this issue · comments

Original report by Anonymous.


I am not exactly sure how to reproduce this but the today stat is frequently incorrect for me. Here's a shell transcript.

infinite:AyeNotes hyuan$ t list
 Timesheet   Running   Today     Total time
*aye         --        0:48:22   3:14:52
 gtd         --        0:31:43   1:51:36
infinite:AyeNotes hyuan$ t display
Timesheet aye:
Day            Start      End        Duration   Notes
Apr 07, 2009   10:36:46 - 11:24:17   0:47:31    redacted
               11:43:34 - 12:36:36   0:53:02    redacted
               12:43:16 - 12:58:46   0:15:30    redacted
               12:59:46 - 13:03:16   0:03:30    redacted
               15:38:39 - 15:43:28   0:04:49    redacted
               16:19:03 - 16:19:08   0:00:05    redacted
               16:35:45 - 16:57:48   0:22:03    redacted
               17:44:47 - 18:25:24   0:40:37    redacted
               18:25:27 - 18:33:12   0:07:45    redacted
                                     3:14:52    
Total                                3:14:52    
infinite:AyeNotes hyuan$ t switch gtd
infinite:AyeNotes hyuan$ t display
Timesheet gtd:
Day            Start      End        Duration   Notes
Apr 07, 2009   10:06:24 - 10:33:38   0:27:14    redacted
               13:34:22 - 13:48:44   0:14:22    redacted
               14:28:20 - 14:31:55   0:03:35    redacted
               14:50:54 - 14:56:19   0:05:25    redacted
               14:56:35 - 15:25:52   0:29:17    redacted
               17:00:09 - 17:27:07   0:26:58    redacted
               18:33:28 - 18:38:13   0:04:45    redacted
                                     1:51:36    
Total                                1:51:36    
infinite:AyeNotes hyuan$ date
Tue Apr  7 20:36:44 PDT 2009
infinite:AyeNotes hyuan$ 

I'm on Python 2.5.1 on Mac OS X 10.6.