On Sun, Jan 22, 2017 at 1:45 AM, Darryn Capes-Davis <
[email protected]> wrote:

>
> >>> import locale
> >>> locale.setlocale(locale.LC_ALL,'')
> 'en_AU.UTF-8'
> >>> import datetime
> >>> datetime.datetime.now().strftime("%x %X")
> '22/01/17 20:35:56'
>
> I note that weewx code for 3.7 has the engine run the setlocale()
> statement. (Tom, was this to fix an issue like this or?... I note that the
> commit says to just report the locale but it does more than that).
>
>
​Yes.

This was actually added three years ago, well before the "report" commit,
in V2.6 (8-Feb-2014).​

-tk

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to