Forums

Discuss all things Remember The Milk.

menu

Need Help with Searchstring (for SmartLists)

dodi says:
Hello,

i got these Smartlists:


Today: (tasks due today + overdue)
dueBefore:tomorrow
(works great :-))

Tomorrow: (tasks tomorrow)
due:tomorrow
(works great :-))

ThisWeek: (Monday to Sunday)
dueBefore:Monday
(problem: also shows overdue tasks older then Monday - how to fix it?)

ThisMonth: (this calendar month)
dueWithin:"1 month of 1st"
(works great :-))

NextWeek: (next Monday to next Sunday)
dueWithin:"1 week of monday"
(works great :-))

NextMonth (next calendar month)
(How to do this?)



There is something illogical:

dueWithin:"1 month of 1st" shows THIS (calendar) month
but
dueWithin:"1 week of monday" shows NEXT (calendar) week



Thanks :-)
Posted at 11:28am on March 28, 2006
emily (Remember The Milk) says:
Hmm, in the case of ThisWeek, I'm not sure how much support the search syntax has for relative date ranges with negative start dates, so I'll have to check into this. Will also have to check if NextMonth is supported. Interesting questions! :)
Posted 17 years ago
dodi says:
Thanks emily :-)

I think there is something wrong with 1st.

At the moment 1st means the LAST 1st (so today it would be 2006/03/01).
It should mean the NEXT 1st (so today it would be 2006/04/01) to be logical, because Monday, Tuesday, Wednesday, etc. all mean the NEXT Mo, Tue, Wed, etc. and not the LAST one. :-)

Then NextMonth would work like NextWeek and ThisMonth would work like ThisWeek. :-)



And about negative dates:

monday => next monday
next monday => the monday after next monday

There is no last xyz(monday) possible.
It would fix my problem with ThisWeek: dueBefore:Monday AND dueAfter:"last Monday" (or: dueWithin:"1 week of last monday").


Would be nice if you could fix "1st" AND/OR add "last". :-)

Thank you very much :-)
Posted 17 years ago
emily (Remember The Milk) says:
Yup, 1st should mean the upcoming 1st, not the one in the past -- we'll have to look at how this works.

We'll look into adding 'last' :)
Posted 17 years ago
This topic has now been closed automatically due to a lack of responses in the past 90 days.