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.