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

Add millisecond support #204

Closed
wants to merge 5 commits into from
Closed

Conversation

arcataroger
Copy link
Contributor

Combined with wojtekmaj/date-utils#74, this adds a new useMilliseconds: boolean parameter to react-clock that allows it to show milliseconds as incremental angles, so the hands can move more smoothly instead of only snapping to seconds.

This is primarily useful for stopwatch modes, like in this demo:

Screen.Recording.2023-06-19.at.12.05.03.PM.mov

Thanks!

@wojtekmaj
Copy link
Owner

wojtekmaj commented Jul 26, 2023

Hey, this PR got a bit cluttered because of all the changes on main branch, and also I've decided to take another approach with date-utils, so I reworked it in 8e32aa1 and marked you as a co-author. Thanks for contributing!

@wojtekmaj wojtekmaj closed this Jul 26, 2023
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