FRC5892 / HeroHours

Team 5892's attendance solution
1 stars 4 forks source link

HeroHours front end rolls over when a user passes 100 hours #3

Closed memtech3 closed 1 week ago

memtech3 commented 2 years ago

HeroHours front end displays hours in the 100s as numbers that are not in the 100s (ex: 101 = 1, 100 = 0, 150 = 50)

MichaelStatt-S commented 1 month ago

appears to be related to this line.

This would probably fix it

('0' + h).slice(-2); /*->*/ (h < 10 ? '0' : '') + h;

Ill fix it when I get edit access

PS: Hi Micah, heard a lot about you

MichaelStatt-S commented 1 week ago

Fixed in rewrite

memtech3 commented 1 week ago

Cool!

On Thu, Oct 10, 2024, 7:36 PM Michael Statt @.***> wrote:

Fixed in rewrite

— Reply to this email directly, view it on GitHub https://github.com/FRC5892/HeroHours/issues/3#issuecomment-2406304558, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE6FTPVAR7FQIXMUUUDU64DZ24MQVAVCNFSM6AAAAABOELBQFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBWGMYDINJVHA . You are receiving this because you authored the thread.Message ID: @.***>