You're both right, of course. The locale is set when installing the PiOS - 
I'd forgotten where in the whole process I chose it. The ECC bits in my 
wetware memory banks are failing, I guess.

To fix my am/AM problem, I used a couple Terminal commands to select the 
proper locale, and rebooted - never touched raspi-config:

<sudo dpkg-reconfigure locales>   then
<sudo locale-gen>   then rebooted

Confirmed proper locale by running CLI "locale" again, and double-checking 
by running "env | grep LANG".

Thanks again, all. Good help here!
Rod

On Sunday, 8 February 2026 at 03:19:05 UTC-7 Nate Bargmann wrote:

> * On 2026 08 Feb 01:17 -0600, Rod in Edm wrote:
> > Yup, that was it: my locale was set up wrong for the fresh Weewx 
> install. I 
> > guess GB uses the lowercase "am" and "pm".
> > 
> > I think when I was installing Weewx on the RPi, I must have not saved my 
> > en.CA locale selection from the list. The default on an RPi is en.GB.
>
> No, it's deeper than WeeWX as the locale is system wide.
>
> On the Pi use raspi-config:
>
> https://www.raspberrypi.com/documentation/computers/configuration.html
>
> This link shows where toe set the locale:
>
>
> https://www.raspberrypi.com/documentation/computers/configuration.html#localisation-options
>
> HTH,
>
> - Nate
>
> -- 
> "The optimist proclaims that we live in the best of all
> possible worlds. The pessimist fears this is true."
> Web: https://www.n0nb.us
> Projects: https://github.com/N0NB
> GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819
>
>

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/6b1c3b9b-2e59-48b7-a874-afba1005c94fn%40googlegroups.com.

Reply via email to