DST support for Time library?

Has anyone considered adding DST support to the Time library?

What I propose is that time_t count in "winter time" but tmElements_t always returns/takes DST (that is, "wall clock" time) when applicable.

Obviously the rules would vary by jurisdiction. Perhaps there could be an interface for localization.

check - http://forum.arduino.cc/index.php/topic,96891.0.html -

Thanks so much. That works a treat!

I don't need actual time zone support, just automatic DST switching. But you can do that by just defining a fake "zone" that does an offset of 0 and +1 with the switching rules for your jurisdiction. The "hardware" clock will be in winter time.

In theory you should better set the hardware clock in GMT or universal time.
And then you use an offset depending of the TZ you're in.
Would be more generic,
In practice I think you have a working solution and that is what counts!

robtillaart:
In theory you should better set the hardware clock in GMT or universal time.
And then you use an offset depending of the TZ you're in.
Would be more generic,
In practice I think you have a working solution and that is what counts!

It's more trouble to maintain and pick from multiple time zones. If the device isn't portable, then it doesn't need the extra flexibility.

nsayer:
...
If the device isn't portable, then it doesn't need the extra flexibility.

Very true!