#336 Poco::Timezone should call tzset() more often

open
5
2012-09-15
2010-02-05
No

Poco::Timezone should call tzset() more often, not just at startup, to detect system timezone changes while the application is running.
It's probably a good idea to limit the number of calls to tzset() due to possible performance issues. E.g. maintain a timestamp of the last call to tzset() and call it at most once per minute.

Discussion

  • Why would the timezone change while the application is running?

    What are you expecting to change over the course of execution? Is this for a laptop or handheld that's being carried across timezones?