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

Support a time offset in addition to absolute time #447

Open
jmathai opened this issue Mar 11, 2023 · 0 comments
Open

Support a time offset in addition to absolute time #447

jmathai opened this issue Mar 11, 2023 · 0 comments

Comments

@jmathai
Copy link
Owner

jmathai commented Mar 11, 2023

The --time argument for the update command only supports an absolute time. It would be great to also support an offset (plus or minus) to adjust the date based on its current date.

This could be done by overloading --time and checking for specific syntax or (preferably) adding an --time-offset argument. It would be nice if it supported english string's like PHP's strtotime - there is a python package for it but prefer not to pull it in.

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

1 participant