You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to record a closed interval from yesterday, however timewarrior does not seem to allow any of the following syntax, and the docs don't show an example. The following examples are from the Track page in the timewarrior documentation
It would be better to move this issue to the timewarrior repo, but I'll answer your question anyways. But please consider closing this issue afterwards.
As you can see here, yesterday gets expanded to the date at midnight. Thus, this placeholder already includes a time of day and cannot be combined with a different time (at least currently).
In order to achieve what you would like to do I would do something of the following options:
Replace yesterday with the actual date, specified in one for the standard formats.
Track the interval as a dummy with the correct length starting at midnight and then move it.
Or you could check out one of these other syntaxes for specifying intervals which does not help with the problem but might be more intuitive. E.g. timew track 2019-07-02T09:00 for 2h "thing" or timew track 2h after 2019-07-02T09:00 "thing"
@mrossinek Sorry about that, I did not realize there was a distinct timewarrior repo because I got here by clicking the issue tracker under Support, and timewarrior lives inside taskwarrior website. Thanks for your answer, I opted for now to write the actual date in the standard format. Will weigh in on the discussion threads you linked. Thanks!
I am trying to record a closed interval from yesterday, however timewarrior does not seem to allow any of the following syntax, and the docs don't show an example. The following examples are from the Track page in the timewarrior documentation
However, I would like to record a closed interval that was both yesterday and at a specific interval. None of the following work:
Is there really no way to override the default 0:00:00 time for named days like
yesterday
?The text was updated successfully, but these errors were encountered: