The daily summaries should start and stop at midnight, local time. Because
you had to change your timezone, the earlier records no longer do this.

An easy fix is to just rebuild them:

wee_database --drop-daily
wee_database --rebuild-daily


Depending on how much data you have, and the speed of your processor, this
can take anywhere from a few seconds to half an hour, or more.

The archive records should be fine, because they are always in UTC.

-tk



On Sat, May 6, 2017 at 6:51 PM, David Watts <[email protected]> wrote:

> Hi
>
> Here in the UK, the clocks went forward on 26 March.
>
> I noticed my weewx pages were an hour slow, so I investigated and my
> Raspberry Pi's timezone was set to 'UTC' (GMT), rather than 'London',
> meaning it didn't observe the change to British Summer Time (DST in
> America). I then corrected the Pi's timezone which that fixed the issue.
>
> When the clocks last changed, I was using a different Pi which I think had
> already been set to 'London' timezone rather than 'UTC'.
>
> I've noticed the timestamp of each day in the 'day' tables in the database
> are recorded as 23:00 GMT since the clock change. The timestamps of each
> day either side of the clock change are below:
>
> 1490400000
> GMT: Sat, 25 Mar 2017 00:00:00 GMT
> Your time zone: 25/03/2017, 00:00:00 GMT+0:00
>
> 1490486400
> GMT: Sun, 26 Mar 2017 00:00:00 GMT
> Your time zone: 26/03/2017, 00:00:00 GMT+0:00
>
> 1490569200
> GMT: Sun, 26 Mar 2017 23:00:00 GMT
> Your time zone: 27/03/2017, 00:00:00 GMT+1:00 DST
>
> 1490655600
> GMT: Mon, 27 Mar 2017 23:00:00 GMT
> Your time zone: 28/03/2017, 00:00:00 GMT+1:00 DST
>
> Does this matter? If it does, is there an easy way to fix?
>
> Thanks!
>
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to