New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TI-77] timew track seems to think today is tomorrow #81

Closed
taskwarrior opened this Issue Feb 11, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@taskwarrior

taskwarrior commented Feb 11, 2018

A M on 2017-05-15T17:40:33Z says:

Tracking at a specific time seems to drop the intervals. :debug shows that it is resolving the timew into the next day. Test patch attached.

╰─➤  timew track 10:00am - 10:59am "APT User's" meeting  :debug
CLI Parser
  _original_args
    timew track 10:00am - 10:59am APT User's meeting :debug
  _args
    word basename='timew' raw='timew' BINARY 
    word canonical='track' raw='track' ORIGINAL CMD 
    date raw='10:00am' ORIGINAL FILTER 
    op raw='-' ORIGINAL FILTER KEYWORD 
    date raw='10:59am' ORIGINAL FILTER 
    word raw='APT User's' QUOTED ORIGINAL FILTER TAG 
    word raw='meeting' ORIGINAL FILTER TAG 
    word canonical=':debug' raw=':debug' ORIGINAL HINT FILTER 

>> 2017-02.data: 44 intervals
>> 2017-03.data: 33 intervals
>> 2017-04.data: 10 intervals
>> 2017-05.data: 14 intervals
>> Loaded 101 tracked intervals
>> Input         interval 2017-05-16T10:00:00 - 2017-05-16T10:59:00 # "APT User's" meeting
>> Overlaps with
>> Found 0 holidays
>> Found 7 exclusions
Recorded "APT User's" meeting
  Started 2017-05-16T10:00:00
  Ended                 59:00
  Total               0:00:00
>> Timer timew 0.034912 sec


╰─➤  timew summary                                             

Wk  Date       Day Tags                                                              Start      End    Time   Total
W20 2017-05-15 Mon Smart accounting moving targets., pcg, pcg-14.1, pr85348, work  7:30:00  9:59:41 2:29:41
                   Smart accounting moving targets., pcg, pcg-14.1, pr85348, work 11:00:00 12:00:00 1:00:00 3:29:41
                                                                                                                   
                                                                                                            3:29:41

@taskwarrior taskwarrior added this to the 1.1.0 milestone Feb 11, 2018

@taskwarrior

This comment has been minimized.

taskwarrior commented Feb 11, 2018

Migrated metadata:

Created: 2017-05-15T17:40:33Z
Modified: 2017-05-21T16:48:18Z
@taskwarrior

This comment has been minimized.

taskwarrior commented Feb 11, 2018

Paul Beckingham on 2017-05-21T15:16:52Z says:

Thank you for the patch - applied.

@taskwarrior

This comment has been minimized.

taskwarrior commented Feb 11, 2018

Paul Beckingham on 2017-05-21T16:48:18Z says:

All times, when specified without a date, are now assumed to mean today.

@pbeckingham

This comment has been minimized.

Member

pbeckingham commented Feb 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment