Hi Tim, That was a new line of code which applied to both eqmag (quick fix). But I have changed the repository issue. It now shows which lines of code to change and apply locale formatting directly. Maybe that will make things more clear.
https://github.com/poblabs/weewx-belchertown/issues/422 Regards, Arend Op zondag 25 oktober 2020 om 02:01:35 UTC+2 schreef ti...@skybase.net: > Hi Arend, > > nice update to change miles to km. > > In your patch you have ... > > eqmag = locale.format("%g", float(eqmag) ) > > > But you don't show what it was previously so knowing which "eqmag" to > change is hard. > > thanks > Tim > > > > On 25/10/20 6:46 am, Arend wrote: > > Hi Keimpe, > > I had the same problem and created an issue about this in the repo. You > can use the fix, let me know if it works for you. > > https://github.com/poblabs/weewx-belchertown/issues/422 > > Mvg, Arend > > Op zaterdag 24 oktober 2020 om 21:04:04 UTC+2 schreef blee...@xs4all.nl: > >> Thnx Vince, Strange, also on mobile, WLAN and 4G network, the same >> problem so it can't be a localization issue related to the network. >> >> >> Op zaterdag 24 oktober 2020 om 20:49:37 UTC+2 schreef vince: >> >>> On Saturday, October 24, 2020 at 10:47:03 AM UTC-7, blee...@xs4all.nl >>> wrote: >>>> >>>> I'm facing just a minor issue: in the skin.conf is defined >>>> 'earthquake_maxradiuskm = 2000'. Therefore I'm expecting a distance in >>>> km's, but the actual distance as well as the units are still in miles >>>> (mijl >>>> in Dutch). How to resolve this? (http://oentsjerk.eu/) >>>> >>>> >>> I see km when I look at your page. >>> >> -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to weewx-user+...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/6742394c-d258-4784-b5be-5cfbeb0584c2n%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/6742394c-d258-4784-b5be-5cfbeb0584c2n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/de297e94-86cf-4531-8619-9080d2d03070n%40googlegroups.com.