My site is here: https://weather.ubeaut.work/belchertown/
It shows km and km in the earthquake section.

On Monday, 11 January 2021 at 07:30:10 UTC+11 Greg from Oz wrote:

> Try deleting the earthquake.json file as the earthequake stuff gets 
> regenerated every 3 hours by default. So you might have to wait 3 hours 
> before noticing any changes.
>
> The json file will be recreated the next reporting run.
>
> The file is here: 
> /var/www/html/<whateveryouo called it>/belchertown/json/earthquake.json
>
>
>
> On Monday, 11 January 2021 at 07:04:21 UTC+11 sali...@gmail.com wrote:
>
>> hello,
>>
>> I done your suggestion but it is always the samethings , earthquake in 
>> Miles.
>>
>> in my fil weewx.conf:
>>
>> [[[Extras]]]
>>
>>             # General Site Defaults
>>             belchertown_root_url = 
>> http://jurassikpat.ddns.net/weewx/belchertown
>>             belchertown_locale = "auto"
>>
>>  [[[[Groups]]]]
>>
>>                 group_altitude = meter    # Options are 'foot' or 'meter'
>>                 group_degree_day = degree_C_day    # Options are 
>> 'degree_F_day'$
>>                 group_distance = km    # Options are 'mile' or 'km'
>>
>> pi@raspberrypi:~ $ locale
>> LANG=fr_FR.UTF-8
>> LANGUAGE=fr_FR.UTF-8
>> LC_CTYPE="fr_FR.UTF-8"
>> LC_NUMERIC="fr_FR.UTF-8"
>> LC_TIME="fr_FR.UTF-8"
>> LC_COLLATE="fr_FR.UTF-8"
>> LC_MONETARY="fr_FR.UTF-8"
>> LC_MESSAGES="fr_FR.UTF-8"
>> LC_PAPER="fr_FR.UTF-8"
>> LC_NAME="fr_FR.UTF-8"
>> LC_ADDRESS="fr_FR.UTF-8"
>> LC_TELEPHONE="fr_FR.UTF-8"
>> LC_MEASUREMENT="fr_FR.UTF-8"
>> LC_IDENTIFICATION="fr_FR.UTF-8"
>> LC_ALL=fr_FR.UTF-8
>>
>> I don't understand
>>
>> patrick
>>
>>
>> Le 10/01/2021 à 01:34, Greg from Oz a écrit :
>>
>> Yes I did that to but it made no difference. 
>>
>> You can change the locale = (in the belchertown skin.conf) to "*en_AU.UTF-8" 
>> *and that works  but if you leave it as auto and do the regen then it 
>> works as expected.
>>
>>
>> On Sunday, 10 January 2021 at 10:12:38 UTC+11 colin....@gmail.com wrote:
>>
>>> My simple fix for this was to make sure that in weewx.conf (or skin.conf 
>>> if you prefer) you have under the stanza
>>>
>>> [[belchertown]]
>>> [[[units]]]
>>> [[[[groups]]]]
>>>
>>> An entry that says 
>>>
>>> group_distance = km
>>>
>>>
>>>
>>> On Sun, 10 Jan 2021 at 11:12, Greg from Oz <ubea...@gmail.com> wrote:
>>>
>>>> Run the command: locale 
>>>>
>>>> See if *LC_MEASUREMENT *is in your units
>>>>
>>>> If it is like this: *LC_MEASUREMENT="en_US.UTF-8" *the the measurement 
>>>> units will be in US (miles)
>>>>
>>>> To regenerate all your locale settings run: *locale-gen*
>>>>
>>>> There is a lot of discussion here: 
>>>> https://groups.google.com/g/weewx-user/c/BckKUHu2_DQ/m/30YJPrKkBwAJ
>>>>
>>>>
>>>> On Sunday, 10 January 2021 at 06:48:26 UTC+11 sali...@gmail.com wrote:
>>>>
>>>>> hello,
>>>>> in which file, can I modify miles in kilometers.
>>>>>
>>>>> inside joint file
>>>>>
>>>>> thanks
>>>>>
>>>>> Patrick
>>>>>
>>>>> -- 
>>>> 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/06af1676-3a27-4989-945d-af379f5b1647n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/06af1676-3a27-4989-945d-af379f5b1647n%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+...@googlegroups.com.
>>
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/c6dcdfc7-8a99-423e-bc06-8a5fbde0df1fn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/c6dcdfc7-8a99-423e-bc06-8a5fbde0df1fn%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/a8826cec-1bb6-4882-8b9a-62adcade879an%40googlegroups.com.

Reply via email to