QuantumPhysique / trale

trale – a simple body weight diary app respecting your privacy
GNU Affero General Public License v3.0
73 stars 8 forks source link

imperial units recorded incorrectly #12

Closed carryforward closed 9 months ago

carryforward commented 9 months ago

I set the units in the settings tab to lbs, then I save a new datapoint. The datapoint weight that is saved is 2.2045 times the entered weight.

braniii commented 9 months ago

@carryforward thank you for pointing out this bug. I have to admit that we have added this feature, but then changed some internal APIs without checking if different units still work. This will be fixed with the next release.

gwosd commented 9 months ago

The bug should be fixed in the upcoming version v0.4.5. It is available on github or in a few days on Fdroid. If the bug persists or in case you find another one, feel free to reopen this issue or open a new one, respectively.