This topic is currently marked as "dormant"—the last message is more than 90 days old. You can revive it by posting a reply.
1_Zoe_
It's nice that the catalogue date fields accept input like "today", "yesterday", "Tuesday", etc. But the weekdays don't quite make sense, because they resolve into a future date. When I say I finished/started/acquired a book on "Tuesday", that should be the most recently passed Tuesday, not sometime next week.
2timspalding
CH: Thoughts? This is presumably string-to-time's error.
3birder4106
>1 _Zoe_:
I agree with you Zoe.
Maybe we could add a "-" in front (or behind) the phrase if we would like to have it the other way round?
I agree with you Zoe.
Maybe we could add a "-" in front (or behind) the phrase if we would like to have it the other way round?
4andyl
Yes this looks to be a strtotime() thing. This is an inbuilt PHP function.
To get the previous Tuesday you can do "last tuesday" ("next tuesday" will give you the next one - which works just like "tuesday" does at the moment).
I suppose that the field could be scanned for just a day name and a "last " prepended to it before being passed to strtotime().
To get the previous Tuesday you can do "last tuesday" ("next tuesday" will give you the next one - which works just like "tuesday" does at the moment).
I suppose that the field could be scanned for just a day name and a "last " prepended to it before being passed to strtotime().
5jjwilson61
It seems to me in this context, that Tuesday could only mean last Tuesday.
(I suppose if the context were some sort of planning activity then Tuesday could logically mean next Tuesday, so I guess the PHP function isn't totally off the wall.)
(I suppose if the context were some sort of planning activity then Tuesday could logically mean next Tuesday, so I guess the PHP function isn't totally off the wall.)
6brightcopy
I was rather surprised to find the php strtotime() function only did this nifty stuff in English.
7conceptDawg
It's strtotime. It assumes that you mean next Tuesday instead of last Tuesday. And since it's english-only, I'lll probably just filter it much like jjwilson mentions above. I'm on it.
8conceptDawg
Should be fixed. Let me know if you see different.

