Skip to content

Change to DST one week late? #2

Description

@matrices-zzz

This year and last year I've noticed that the switch to DST using this library takes place one week late. I made a change which causes the change to occur on the proper date. Not sure if it's just something I'm doing or if it's actually a code issue but the following change to ntp.cpp fixed it for me.

Change: time_t beginDST = nextSunday( makeTime(tm) );
to: time_t beginDST = previousSunday( makeTime(tm) );

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions