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 weeks #10

Open
nijk opened this issue Apr 18, 2019 · 0 comments
Open

Support weeks #10

nijk opened this issue Apr 18, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@nijk
Copy link
Owner

nijk commented Apr 18, 2019

Is your feature request related to a problem? Please describe.
Component only supports days, hours, minutes & seconds

Describe the solution you'd like
I'd like to be able to use weeks

Additional context
It is feasible that we could also support years and months, but calculating months will be complex to get right. One option would be to set a month to 365 / 12 but this could cause poor UX due to a month equating to a seemingly arbitrary number of seconds:

365 / 12
= 30.4166666666666667 * 24 * 60 * 60
= 2628000
@nijk nijk added the enhancement New feature or request label Apr 18, 2019
@nijk nijk self-assigned this Apr 18, 2019
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

No branches or pull requests

1 participant