Re: [weewx-user] Where is the formatting code for dates in the Seasons skin?

62 views
Skip to first unread message

Tom Keffer

unread,
Dec 20, 2022, 6:48:54 PM12/20/22
to weewx...@googlegroups.com
This is set by the environment variable LANG. Double check your's.

echo $LANG

If you're in the US, it should read something like "en_US.UTF-8".

On Tue, Dec 20, 2022 at 2:48 PM 'Peter Fletcher' via weewx-user <weewx...@googlegroups.com> wrote:
I have, for some years, used the Seasons skin as a base for two of the skins I employ for my weewx setup. I have just noticed that the date part of the datestamp at the top left of the main page is in (what I think of as) British format - DD/MM/YYYY. I am sure that it has always been that way and I have 'looked through it'. Since I am located on the other side of the pond, I would prefer to display it in US format (MM/DD/YYYY). Is there an easy way of doing this within the skin code?

--
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/d9e43ac1-61ba-42be-8bf8-07770988159dn%40googlegroups.com.

Peter Fletcher

unread,
Dec 21, 2022, 8:46:08 AM12/21/22
to weewx-user
Thanks! You obviously replied to my original message before I deleted it, when I discovered that my Pi thought that it was living in the United Kingdom! Correcting that (I have no idea how/when it got changed, since I am sure I set the locale correctly when I installed Bullseye) sorted the problem.
Reply all
Reply to author
Forward
0 new messages