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

Change duration field from an integer, to a duration #101

Open
PossibleLlama opened this issue Sep 7, 2021 · 0 comments
Open

Change duration field from an integer, to a duration #101

PossibleLlama opened this issue Sep 7, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@PossibleLlama
Copy link
Owner

Is your feature request related to a problem? Please describe.
Given that the duration field is intended to be a time taken, build upon that to clearly be a time in minutes.

Describe the solution you'd like
The duration field within Work, being changed from an int to Time.Duration.

Additional context
When creating/editing, the parameter will still be an integer. This is then converted as number of minutes. Seconds and below are treated as 0's.

@PossibleLlama PossibleLlama added enhancement New feature or request good first issue Good for newcomers labels Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant