Skip to content

Issues with time switching from CEST to CET #22

@M-Reimer

Description

@M-Reimer

I'm using your library in a light controller that I built based on an Arduino Nano. This runs 24/7 and is responsible to switch on some outdoor lighting based on some time rules and external sensors. Actually this works really well usually.

But today it, again, failed to "survive" the switch from CEST to CET. I took some time to finally find out what is going wrong here. I literally spent hours debugging my own code until I decided to have a look at the DCF library. And the reason, finally, was pretty obvious.

You use "now()" to get a timestamp. If the DST switch happens, then "now()" jumps one hour and now some of your DCF time validation routines are broken until I powercycle the whole controller.

I could fix that, but I'm asking myself if the library actually is still maintained? If you consider the library as being "unmaintained", I would continue maintaining it under the same name. I would continue with a different name otherwise.

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