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

[Feature Request] improved timestamp shortcuts #258

Open
rfagen opened this issue Mar 12, 2021 · 2 comments
Open

[Feature Request] improved timestamp shortcuts #258

rfagen opened this issue Mar 12, 2021 · 2 comments

Comments

@rfagen
Copy link

rfagen commented Mar 12, 2021

Currently (just upgraded to 0.2.2) time parameters can only be set as epoch-time-milliseconds. The AWS cli supports ISO 8601 timestamps, as well as epoch time.

Could using "2021-03-11T19:00:00Z" be added?

Also, it would be really clever if there was also a shortcut following the pattern of "now()" or "now(-1d)" or "now(-1h)" when specifying times for fetching logs and such.

@rfagen
Copy link
Author

rfagen commented Mar 12, 2021

Oh. I'm on aws-cli/1.16.51 -- maybe that's a CLI v2 feature?

@rfagen
Copy link
Author

rfagen commented Mar 12, 2021

Oops! RTFM: Available in the AWS CLI version 2 only

But maybe the notion of translating "now()" is still a valid feature request? Otherwise, feel free to close.

Thanks!

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