Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

support period "last friday" #12

Open
mndrix opened this issue Jul 15, 2010 · 0 comments
Open

support period "last friday" #12

mndrix opened this issue Jul 15, 2010 · 0 comments
Labels

Comments

@mndrix
Copy link
Owner

mndrix commented Jul 15, 2010

Sometimes I know that I worked on something on a specific day, for example "last friday" or "last monday". These phrases should be supported.

To do this, we need to determine which day of the week is today (0-7). Which day of the week the requested day is (0-7). Return a 24 hour interval surrounding N (today-then) days ago. The arithmetic probably needs to be done mod 7.

@mndrix mndrix added the feature label Jul 28, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant