thewca / worldcubeassociation.org

All of the code that runs on worldcubeassociation.org
https://www.worldcubeassociation.org/
GNU General Public License v3.0
333 stars 176 forks source link

Format MBLD Results below 1 Minute more clearly on the competition page #7836

Open sam596 opened 1 year ago

sam596 commented 1 year ago

Describe the bug A MBLD result with time below one minute shows just the one integer value for the number of seconds that the attempt took. This should be clearer and show, for instance, 2/2 00:45 instead of 2/2 45

To Reproduce Steps to reproduce the behavior:

  1. Go to https://www.worldcubeassociation.org/competitions/BuckeyeBigBrain2023/results/all?event=333mbf
  2. Observe 'bug' in Stanley Chapel's results

Expected behavior Format times in MBLD in the format (h:)mm:ss always, including those below one minute with 00:ss, such as on the persons page (https://www.worldcubeassociation.org/persons/2016CHAP04?event=333mbf - the result is much clearer on this page.)

Screenshots image

Desktop (please complete the following information): Occurs on all platforms

Smartphone (please complete the following information): Occurs on all platforms

paarthchhabra commented 1 year ago

Hi @sam596 I would like to fix this

danieljames-dj commented 1 year ago

Thanks @paarthchhabra for the initiative, I've added you as assignee, please go ahead.

sam596 commented 1 year ago

Also occurs on WCA Live: https://live.worldcubeassociation.org/competitions/2178/rounds/30938

dunkOnIT commented 1 year ago

Hi @paarthchhabra, would you still like to work on this?