You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor formatAs12HourClock to reduce code duplication
Moved padStart(2, "0") to a single location after calculating rawHour.
Improves readability and makes the function easier to maintain.
Thanks for the helpful suggestion!
0 commit comments