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

Add more units from sleep command #19

Open
Soundtoxin opened this issue Mar 20, 2021 · 2 comments
Open

Add more units from sleep command #19

Soundtoxin opened this issue Mar 20, 2021 · 2 comments

Comments

@Soundtoxin
Copy link

I notice that at least d for days is not supported. I use this occasionally with the sleep command to do stuff like open a link with xdg-open in a couple days. It's also a bit more readable to see 12 days counting down than 288 hours.
Not sure if sleep supports bigger units than days, but if it does, it could be good to have those as well. w for weeks should be fairly unambiguous, and if you start using capitals, M could be months.

@antonmedv
Copy link
Owner

W is 13 days.
but how many days is M?

@Soundtoxin
Copy link
Author

W is 13 days.

Do you mean 7 days?

but how many days is M?

Ideally it would calculate the time between the date (as in day #) this month and next, like Feb 18th to March 18th, or June 18th to July 18th. It wouldn't be a static number of days. Perhaps this is too complicated to do.

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

2 participants