Custom file customization XML

27 views
Skip to first unread message

Stefan Schnidrig

unread,
Jun 12, 2019, 1:16:23 PM6/12/19
to weewx-user
Hi Guys.
I have the problem that the mintime and maxtime always show the seconds. 
I do not want these. I have this $ day.outTemp.maxtime and the result is 12:35:03. But I want, that I get only 12:35.
How can I adjust this? I can see the XML here: https://meteo-oberwallis.ch/wetter/thun/XML/daten.xml Thanks, people

p q

unread,
Jun 12, 2019, 1:33:41 PM6/12/19
to weewx...@googlegroups.com
Look at the Formatting Options section of  http://www.weewx.com/docs/customizing.htm

There's an example that covers this.

--
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/853959e8-e74b-482c-b403-eaa5806d68b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Peter Quinn
(415)794-2264

Stefan Schnidrig

unread,
Jun 12, 2019, 1:59:27 PM6/12/19
to weewx-user
Hi Peter.

Thanks for the link. It worked now. .format ("% H:% M") is the solution.

Many Thanks


Am Mittwoch, 12. Juni 2019 19:33:41 UTC+2 schrieb p q:
Look at the Formatting Options section of  http://www.weewx.com/docs/customizing.htm

There's an example that covers this.

On Wed, Jun 12, 2019 at 10:16 AM Stefan Schnidrig <sschn...@bluewin.ch> wrote:
Hi Guys.
I have the problem that the mintime and maxtime always show the seconds. 
I do not want these. I have this $ day.outTemp.maxtime and the result is 12:35:03. But I want, that I get only 12:35.
How can I adjust this? I can see the XML here: https://meteo-oberwallis.ch/wetter/thun/XML/daten.xml Thanks, people

--
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...@googlegroups.com.


--
Peter Quinn
(415)794-2264
Reply all
Reply to author
Forward
0 new messages