-
Notifications
You must be signed in to change notification settings - Fork 106
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
[bug]: 'thisweek' doesn't work in the date parser #258
Comments
I am looking into implementing this in my fork, Ultodo, but here is how I worked around it: I have an alias: that gets me the abbreviated day name in lowercase... Then another alias: alias week="ultralist l duebefore:$(_yesterday)" This is a bit convoluted, but I needed yesterday because using today results in showing the 7 days up to today, since it uses closest monday. Using yesterday gets us this week. I hope to implement thisweek soon so that aliases are not needed. Thanks |
@sottey will your fix make It makes more sense to have the week start on Monday -- then Take a look at my fix at #259 ; I've also added the monthly options -- and by comparison, this will make weekly ones standout -- nobody thinks "last month" as the 30 days before today -- it's assumed to be the calendar month, regardless of where in the current month we are. |
Hi @ltrubov , Yeah, that was what I did. I feel like "7 days from the most recent past Monday" makes the most sense. Your work in the input_parser was more elegant than mine so I incorporated it, thanks! LOVE the month stuff you did. I have incorporated that as well. Thanks! |
The documentation lists
thisweek
as an option for task filtering, as do the help pages. There are alsolastweek
andnextweek
options. These are wonky in terms of what's considered to be next or last week, but they're accepted. However,thisweek
results in the following:This is a strange thing to overlook, but it should be relatively easy to fix, given that the other week options are in place. It'd also be nice to have
thismonth
,nextmonth
andlastmonth
parameters.The text was updated successfully, but these errors were encountered: