Maybe this might help.

https://awesomeopensource.com/project/poblabs/weewx-belchertown?...#a-note-about-date-and-time-formatting-in-your-locale


On Thu, 1 Oct 2020, 11:18 PM Yannick M <yannickmo...@gmail.com> wrote:

> Thank you very much! With this command line I could actually see that the
> time was in English on the server. Thanks to the sudo dpkg-reconfigure
> locales command, I was able to select French.
>
>  After stopping and restarting weewx, the changes do not apply, do you
> have to restart something else? Thanks a lot for your help!
>
> Le jeudi 1 octobre 2020 à 05:37:26 UTC+2, Greg from Oz a écrit :
>
>> type man date
>>  in a console.
>>
>> I assume the variables are the same in belchertown.
>> If you type this in a console:
>> date '+%Y/%m/%d %A %H:%M %b '
>> You get this:
>> 2020/10/01 Thursday 13:34 Oct
>> Upper case %B gives the full name of the month.
>>
>> Also type locale in a console
>> This will show you if you are using the local French local and that
>> should convert the Months (%b) into French
>> sudo dpkg-reconfigure locales
>> Use the above if the locale is wrong.
>>
>> Maybe that will work for you.I haven't tried it.
>> On Thursday, 1 October 2020 at 12:58:15 UTC+10 yannic...@gmail.com wrote:
>>
>>>
>>>  Hello, I am so sorry to bother you for this. This is the first time
>>> that I have made a site under debian, I tried to find the answer in the
>>> weewx and group docs but I didn’t find something that works.
>>> My problem is simple. Currently the date is displayed this way:
>>>
>>>  October 1, 2020, 4.44 pm I would like it to become: October 1, 2020,
>>> 16:44 .
>>>
>>> I use the belchertown skin, I have to pay [[[[TimeFormats]]]] day =% H:%
>>> M week =% H:% M on% A month =% d-% b-% Y% H:% M year =% d-% b-% Y% H:% M
>>> rainyear =% d-% b-% Y% H:% M current =% d-% b-% Y% H:% M ephem_day =% H:% M
>>> ephem_year =% d-% b-% Y% H:%
>>>
>>>
>>>  But it doesn't work anyway, do you have an idea please?
>>> How to change the order, put to 12h> 24h and translate the months in
>>> french please?
>>> the website: http://thurey.meteo-71.fr/weewx/
>>>
>>> Best regards
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/1IVqPP5KFt4/unsubscribe.
> To unsubscribe from this group and all its topics, 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/47d96cb7-4b9e-4f3e-8101-f685715b0e5cn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/47d96cb7-4b9e-4f3e-8101-f685715b0e5cn%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/CAD_tbc-d7yg4gAi74nmu%2Buvyjq2_JXCredFYSKkL5qs4K%3DkNcA%40mail.gmail.com.

Reply via email to