https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114645

--- Comment #24 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I have a local patch that would allow applications to define:

namespace __gnu_cxx {
  const char* localtime_override() { return getenv("TZ"); }
}

This would make tzdb::current_zone() use the content of $TZ to find the current
zone (and fall back to the current logic if it's not a valid zone name).

Reply via email to