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

docs(readme): list all supported units for expiry #63

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

tessus
Copy link
Collaborator

@tessus tessus commented Jun 12, 2023

These suffixes are also supported in the config.toml.


The duration is not consistently used. e.g. in the config.toml it says default_expiry = "1h" and not default_expiry = "1hours" as it is shown in the README. Also, I think people are rather used to single character duration units like s, m, h, d, w, y.

So I believe listing all supported units is useful for usability and consistency.

These suffixes are also supported in the `config.toml`.
@tessus tessus requested a review from orhun as a code owner June 12, 2023 20:22
Copy link
Owner

@orhun orhun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough 👍🏼

@orhun orhun changed the title list all supported units (suffixes) for expiry docs(readme): list all supported units for expiry Jun 12, 2023
@orhun orhun merged commit 9170741 into orhun:master Jun 12, 2023
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

Successfully merging this pull request may close these issues.

2 participants