YEAR Tab graph dates

70 views
Skip to first unread message

Rick

unread,
May 17, 2021, 2:52:56 AM5/17/21
to weewx-user

Only just noticed that the dates on YEAR Tab graph are wrong.  This is on Seasons skin.

yeargraph.jpg
Month looks ok but year does not, /01 on the axis.

Both WeeWX version 4.5.1 &  3.9.2 do this.  I've had a look at other users stations and found the same thing, month ok but year not.  Every graph same.

yeargraph satx.jpg

What would cause this?

Graham Eddy

unread,
May 17, 2021, 3:36:21 AM5/17/21
to weewx...@googlegroups.com
i expect x-axis has mm/dd format labels - change it in weewx.conf

Tom Keffer

unread,
May 17, 2021, 10:07:31 AM5/17/21
to weewx-user
The x-labels represent dates, not months. So, for example, the label 09/01 is implied 09/01/21.

You, of course, are welcome to set them to something else.

--
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/eed3aac3-ce63-4a41-a906-c1fa53c4cbedn%40googlegroups.com.

Rick

unread,
May 17, 2021, 7:28:35 PM5/17/21
to weewx-user
Thanks Tom for the explanation.

Found the setting in skins.conf.
    [[year_images]]
        x_label_format = %m/%d    <-- changed the %d to y%

yeargraph 2.jpg

Vetti52

unread,
May 18, 2021, 9:57:13 AM5/18/21
to weewx-user
I just tried this little trick with month_images too and changed it  to %d.%m. And, yes, after restarting weewx, it worked! Nice!!! However, year_images was not changed. There is a little typo in Rick's post, needs to be %y instead of y%. But, still no success. So, I had a look into the web site files and realized, that the year images are only created at midnight. So I will wait until tomorrow to see, what happened.
Reply all
Reply to author
Forward
0 new messages