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

added change to fix Select Time Only "Invalid Date" bug #3788

Merged
merged 2 commits into from
Jan 30, 2023

Conversation

luddensdesir
Copy link
Contributor

App would crash when an invalid time was provided to the Select Time Only input field

I fixed it by preventing a null date from being provided to the set function in handleChange

#3759

@codecov
Copy link

codecov bot commented Oct 8, 2022

Codecov Report

Merging #3788 (f026930) into master (e0f7b57) will decrease coverage by 0.21%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master    #3788      +/-   ##
==========================================
- Coverage   93.54%   93.33%   -0.22%     
==========================================
  Files          20       20              
  Lines        1363     1365       +2     
  Branches      381      382       +1     
==========================================
- Hits         1275     1274       -1     
- Misses         26       28       +2     
- Partials       62       63       +1     
Impacted Files Coverage Δ
src/index.jsx 89.29% <33.33%> (-0.61%) ⬇️
src/year.jsx 92.30% <0.00%> (-1.93%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@martijnrusschen martijnrusschen merged commit 60d95bb into Hacker0x01:master Jan 30, 2023
p-rogas pushed a commit to p-rogas/react-datepicker that referenced this pull request Mar 22, 2023
added change to fix Select Time Only "Invalid Date" bug
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.

None yet

2 participants