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 ISO date support #69

Merged
merged 3 commits into from
Jul 28, 2022
Merged

Add ISO date support #69

merged 3 commits into from
Jul 28, 2022

Conversation

mrcgrtz
Copy link
Owner

@mrcgrtz mrcgrtz commented Jul 28, 2022

Allow either a relative numeric value or an ISO date string as values for the --expires flag:

  1. --expires 20 sets an expiration date 20 days from now
  2. --expires 2022-07-30T00:00:00Z sets July 7th, 2022 at 12am GMT as the expiration date

@mrcgrtz mrcgrtz added the enhancement New feature or request label Jul 28, 2022
@mrcgrtz mrcgrtz self-assigned this Jul 28, 2022
@coveralls
Copy link

coveralls commented Jul 28, 2022

Pull Request Test Coverage Report for Build 2755909874

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 13 of 13 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 2735501875: 0.0%
Covered Lines: 145
Relevant Lines: 145

💛 - Coveralls

@mrcgrtz mrcgrtz merged commit 1d3eb4a into main Jul 28, 2022
@mrcgrtz mrcgrtz deleted the iso-date-support branch July 28, 2022 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants