This repository has been archived by the owner on Feb 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Bug: Order Time does not format time correctly #2
Open
Fleury14 opened this issue
Dec 13, 2021
· 0 comments
· May be fixed by T145/react-challenge-project-jan-2022#3, bchehraz/react-challenge-project-jan-2022#3, zacharynoel/react-challenge-project-jan-2022#2 or JimOtermat2/bitwise-react-challenge-project#2
Open
Bug: Order Time does not format time correctly #2
Fleury14 opened this issue
Dec 13, 2021
· 0 comments
· May be fixed by T145/react-challenge-project-jan-2022#3, bchehraz/react-challenge-project-jan-2022#3, zacharynoel/react-challenge-project-jan-2022#2 or JimOtermat2/bitwise-react-challenge-project#2
Labels
Comments
bip12
referenced
this issue
in bip12/react-challenge-project-jan-2022
Jan 9, 2022
1 task
logan-hernandez
referenced
this issue
in logan-hernandez/react-challenge-project-jan-2022
Apr 15, 2022
This was referenced Apr 20, 2022
1 task
JimOtermat2
referenced
this issue
in JimOtermat2/bitwise-react-challenge-project
Aug 6, 2022
Casts to string, then uses the padStart function to make sure the minute and second show up as two digits Fixes #2
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected Behavior/Desired Use Case
Order Time should be correctly formatted in
hh:mm:ss
format.Actual/Current Behavior
Order Time does not zero-pad minute and seconds correctly, so it will sometimes show invalid time formats such as this example:
Steps to Reproduce the Problem/Implement this feature
Learning
This is a common type of problem when time parsing is done manually instead of using built-in time formatting tools. Research best-practices for displaying time in the current stack and apply those best practices to this project.
The text was updated successfully, but these errors were encountered: