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

Set Text not in properly format #35

Open
GiuseppeCBrandi opened this issue Apr 28, 2021 · 1 comment
Open

Set Text not in properly format #35

GiuseppeCBrandi opened this issue Apr 28, 2021 · 1 comment
Milestone

Comments

@GiuseppeCBrandi
Copy link

First of all thanks for posting this project.

I believe the time will be in better format if you change

String formattedTime = String.format("%02d:%02d", TimeUnit.MILLISECONDS.toMinutes(tickUpdateInMillis), TimeUnit.MILLISECONDS.toSeconds(tickUpdateInMillis) - TimeUnit.MINUTES .toSeconds(TimeUnit.MILLISECONDS.toHours(tickUpdateInMillis)));

to this

String formattedTime = String.format("%02d:%02d", TimeUnit.MILLISECONDS.toMinutes(tickUpdateInMillis), TimeUnit.MILLISECONDS.toSeconds(tickUpdateInMillis) - TimeUnit.MINUTES .toSeconds(TimeUnit.MILLISECONDS.toMinutes(tickUpdateInMillis)));

@krtkush
Copy link
Owner

krtkush commented May 16, 2021

Thank you for the feedback. Is it possible for you to add this as a PR?

@krtkush krtkush added this to the v3.0.0 milestone Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants