espruino / espruino/BangleApps
[lcars] Wind speed option only works if locale is kph
Open
- Dominant language
- JavaScript
- Stars
- 571
- Forks
- 1.3k
- Avg merge
- 17h 38m
- Merged PRs (30d)
- 17
Description
### Affected hardware version
Bangle 2
### Your firmware version
2v27.45
### The bug
_Very, very low priority--just noting in case anyone wants to tackle it._
Selecting kph vs mph in the settings only works if your locale is in kph. If your locale is already in mph, you end up with mph divided by ~1.6
Workaround is just leave the setting as "kph" and it'll show your locale's speed.
A fix might be just a note in the readme, or have code check if the locale is kph vs other?
https://github.com/espruino/BangleApps/blob/17787eececc0af9aa629061ac05d87e23ea785db/apps/lcars/lcars.app.js#L686-L689
### Installed apps
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.