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

Disallow negative time #31

Merged
merged 2 commits into from
Jan 17, 2025
Merged

Disallow negative time #31

merged 2 commits into from
Jan 17, 2025

Conversation

avikalpg
Copy link
Owner

  • Add a function in utils to validate hours input for any activity
  • use the validateHours function to show error message on the form
  • use the validateHours function to ignore invalid activities while calculating the free time and showing the pie-chart.

- Move the validateHours function to the utils file.
@avikalpg avikalpg merged commit e75fc34 into main Jan 17, 2025
@avikalpg avikalpg deleted the akg/disallow_negative_time branch January 17, 2025 06:42
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.

1 participant