Skip to content
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

Change day from next to past #7

Open
ghost opened this issue Sep 9, 2019 · 0 comments
Open

Change day from next to past #7

ghost opened this issue Sep 9, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 9, 2019

Hello,
Is it Possible to change the day to result in past not future?
E.g.
from timefhuman import timefhuman now = datetime.datetime(year=2019, month=9, day=8) s=timefhuman("Friday",now=now)
This would give this :
datetime.datetime(2019, 9, 13, 0, 0)
which is the next Friday. So is it possible to change the next to the past to give the date of the last Friday without adding any expression to indicate the past.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants