Skip to content

Conversation

@ShivaGupta-14
Copy link
Contributor

Description

Replaced unsafe new Date() with safe date parsing in wait date DatePicker. Added error handling and validation to prevent RangeError crashes.

Fixes black screen bug caused by invalid date parsing.

Checklist

  • Ran npx prettier --write . (for formatting)
  • Ran gofmt -w . (for Go backend)
  • Ran npm test (for JS/TS testing)
  • Added unit tests, if applicable
  • Verified all tests pass
  • Updated documentation, if needed

Additional Notes

Video

Screen.Recording.2025-12-07.at.8.54.53.PM.mov

Replaced unsafe `new Date()` with safe date parsing in wait date DatePicker.
Added error handling and validation to prevent RangeError crashes.

Fixes black screen bug caused by invalid date parsing.

Fixes: CCExtractor#252
@github-actions
Copy link

github-actions bot commented Dec 7, 2025

Thank you for opening this PR!

Before a maintainer takes a look, it would be really helpful if you could walk through your changes using GitHub's review tools.

Please take a moment to:

  • Check the "Files changed" tab
  • Leave comments on any lines for functions, comments, etc. that are important, non-obvious, or may need attention
  • Clarify decisions you made or areas you might be unsure about and/or any future updates being considered.
  • Finally, submit all the comments!

This helps make the review process smoother and gives us a clearer understanding of your thought process.

Once you've added your self-review, we'll continue from our side. Thank you!

@its-me-abhishek its-me-abhishek merged commit a246d6b into CCExtractor:main Dec 7, 2025
5 checks passed
@ShivaGupta-14 ShivaGupta-14 deleted the bug/252-waitField-blackScreen branch December 7, 2025 17:07
ShivaGupta-14 added a commit to ShivaGupta-14/ccsync that referenced this pull request Dec 25, 2025
Replaced unsafe `new Date()` with safe date parsing in wait date DatePicker.
Added error handling and validation to prevent RangeError crashes.

Fixes black screen bug caused by invalid date parsing.

Fixes: CCExtractor#252
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.

Editing waitField results in a black screen

2 participants