Thread (5 messages) flat view 5 messages, 4 authors, 2016-06-15

Re: Teach "approxidate" about weekday syntax

From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:42:12

On Thu, 17 Nov 2005, Linus Torvalds wrote:
NOTE! The parsing is strictly sequential, so if you do

	"one day before last thursday"

it will _not_ do what you think it does. It will take the current time, 
subtract one day, and then go back to the thursday before that.
Maybe if you applied the different time units in decreasing size that 
would do the trick?  e.g. months have precedence over weeks, weeks over 
weekdays, weekdays over days, etc.


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help