https://bugs.kde.org/show_bug.cgi?id=355858
--- Comment #14 from Martin Klapetek <mklape...@kde.org> --- ...you're welcome. > ① The patch does not solve the problem, it is a workaround, because a > correctly set TZ-Variable gets ignored if it uses the “:”-syntax. No. > QByteArray ianaId = qgetenv("TZ"); > if (!ianaId.isEmpty() && ianaId.at(0) == ':') > ianaId = ianaId.mid(1); If you set TZ=":Europe/Berlin", it will correctly return "Europe/Berlin". The patch will ignore TZ=":/etc/localtime" because the timezone name will get read from /etc/timezone (which is what should be happening). It will not work if you put an absolute path into your TZ env var. Which is not what any guide/manual encourages you to do so, so, honestly, I'd close such bugreport as invalid. There are 4 other ways to read a system timezone, just use one of those. Feel free to submit another patch reading an absolute path correctly however. > ② digital-clock should fail more gracefully Yes. -- You are receiving this mail because: You are watching all bug changes.