Forecast End of Month Date out of Order

45 views
Skip to first unread message

Phil Owers

unread,
May 29, 2020, 4:56:21 AM5/29/20
to weewx-user
Hi Guys
Just wondered if anybody else has seen this, It may well have started after the we had a time change in March
as I seem to remember something similar at the end of Mar and also April but didn't have the time to investigate.
It appears that when a new month is displayed it is displayed before the last days of the old month
Have a look at http://sheringhamweather.ddns.net/forecast/3dayforecast.html it will explain it better
Once in the new month all is OK , until the end of the month.
You will see that I have added a couple of things to the display so its probably something I have caused and I have tried on different browsers 
Phil

Phil Owers

unread,
May 29, 2020, 2:35:57 PM5/29/20
to weewx-user
It appears that the date is not sync up with the forecast info. The forecast info from the time (22h etc) and everything underneath is correct and in the time correct order beginning with the next time slot.
Could somebody explain please how the Mon Jun 01, Sat May 30 and Sun May 31 is sync up to the rest of the display as this seems to be the problem.
Reading from the left the first time 22h is in fact Fri May 30 and not Mon Jun 01.
Thanks for any help
Phil

Phil Owers

unread,
May 30, 2020, 7:08:22 AM5/30/20
to weewx-user
In forecast_strip.inc line 564   is
#set $thisdate = $period.event_ts.format('%Y.%m.%d') which is OK
If I change it to
  #set $thisdate = $period.event_ts.format('%m.%d')  is OK
If I change it to
  #set $thisdate = $period.event_ts.format('%b.%d') it puts the new month first so doesn't work.
So Im assuming I have to change the date appearance in probably the weewx.conf


On Friday, May 29, 2020 at 9:56:21 AM UTC+1, Phil Owers wrote:
Reply all
Reply to author
Forward
0 new messages