astashov / liftosaur

Weightlifting tracker app for coders
https://www.liftosaur.com
GNU Affero General Public License v3.0
243 stars 32 forks source link

Weight rounding does not function correctly when mixing kg/lb equipment #196

Closed tsvng closed 1 month ago

tsvng commented 1 month ago

I primarily use lbs for all of my exercises in the gym except for calf raises where I hold a kettlebell which uses kgs.

When I input 24 kg as the working weight, Liftosaur automatically rounds it to 54 lbs.

Here you can see I set the weight to 24 kg. Liftosaur Calf Raise Weight Setting

And here you can see it gets rounded to 54 lb Liftosaur Calf Raise Rounded

astashov commented 1 month ago

Yeah, because you have the default unit selected in settings as lbs. You can set "Kettlebell" equipment to your "Standing Calf Raise", and in the equipment settings set unit to kg, then it'll track it as kg.

tsvng commented 1 month ago

You're absoluitely right! Was resolved after changing exercise equipment type to 'Kettlebell', and then going into Settings>Equipment Settings>Kettlebell>Unit>kg