Date output format

61 views
Skip to first unread message

G400

unread,
Jun 26, 2019, 2:11:39 PM6/26/19
to weewx-user
I have been tinkering with new Belchertown 1.0.1 skin and I'm really impressed by all capabilities. It must have been a major task developing such a feature rich and robust solution.
Thank's a lot to Pat O'Brien!

Date and time is currently output in the format of June 26, 2019, 7:57:00 PM, but I want it to be changed to something like 26. June 2019, 19:67:00.
How do I change this?
Do I modify weewx.conf or an other .conf file?

G400

Pat

unread,
Jun 26, 2019, 5:05:24 PM6/26/19
to weewx-user
Thanks! Glad you like it. You can modify the date time easily. Check out this section of the readme. 


The skin is heavy on JavaScript so I rely on a library that helps with the date formatting. Details are in that section. 

Patrick Mendiuk

unread,
Jun 26, 2019, 5:54:55 PM6/26/19
to weewx-user
I tried using the format string "dddd DD MMM HH:mm" for time_mqtt_websockets_last_updated and it changed the format but it does not update the time with the MQTT updates.  When I changed it back to "LL, LTS" the time updates with MQTT update. 

Pat

unread,
Jun 26, 2019, 6:02:52 PM6/26/19
to weewx-user
Pretty sure that a bug that I've committed to the development branch and will be fixed in the next version. I'll test this to confirm.

G400

unread,
Jun 27, 2019, 10:16:37 AM6/27/19
to weewx-user
Perfect!
Used the moments.js documentation and now I'm ok.
Thank's a lot!
G400
Reply all
Reply to author
Forward
0 new messages