https://bugs.kde.org/show_bug.cgi?id=355858
--- Comment #16 from Martin Klapetek ---
I'd suggest following through with this:
https://wiki.qt.io/Qt_Contribution_Guidelines
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=355858
--- Comment #15 from M G Berberich ---
How about:
time_t tt = time(0);
struct tm *tm = localtime(&tt);
char tz[20];
strftime(tz, 19, "%Z", tm);
QByteArray ianaId(tz);
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=355858
--- Comment #14 from Martin Klapetek ---
...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");
>
https://bugs.kde.org/show_bug.cgi?id=355858
--- Comment #13 from M G Berberich ---
① The patch does not solve the problem, it is a workaround, because a correctly
set TZ-Variable gets ignored if it uses the “:”-syntax.
② digital-clock should fail more gracefully if it can not determine the
timez
https://bugs.kde.org/show_bug.cgi?id=355858
Martin Klapetek changed:
What|Removed |Added
Status|NEEDSINFO |RESOLVED
--- Comment #12 from Martin Klapetek
https://bugs.kde.org/show_bug.cgi?id=355858
Martin Klapetek changed:
What|Removed |Added
Resolution|WAITINGFORINFO |UPSTREAM
--- Comment #11 from Martin Klapetek
https://bugs.kde.org/show_bug.cgi?id=355858
Martin Klapetek changed:
What|Removed |Added
CC||mklape...@kde.org
--- Comment #10 from Martin
https://bugs.kde.org/show_bug.cgi?id=355858
--- Comment #9 from M G Berberich ---
I was wrong.
On Debian TZ is set to “:/etc/localtime”, this makes the clock fail.
Unsetting TZ makes the clock work, at least if startet with plasmawindowed
TZ= plasmawindowed /usr/share/plasma/plasmoids/org.kde
https://bugs.kde.org/show_bug.cgi?id=355858
--- Comment #8 from M G Berberich ---
Yes, I can query and set the timezone with timedatectl. It does not help to do
so.
Yes, there is a /etc/timezone and it contains „Europe/Berlin“
TZ is unset. If I set TZ to “CET” the digital clock works.
--
You ar
https://bugs.kde.org/show_bug.cgi?id=355858
--- Comment #7 from David Edmundson ---
Timezones on Linux are apparently a mess. We have 4 different systems.
/etc/localtime is done by resolving the symlink path.
// Check TZ env var first, if not populated try find it
QByteArray ianaId = qge
https://bugs.kde.org/show_bug.cgi?id=355858
--- Comment #6 from M G Berberich ---
That’s probably distribution dependent.
On Debian “dpkg-reconfigure tzdata” copies a file from /usr/share/zoneinfo/ to
/etc. In my case “/usr/share/zoneinfo/Europe/Berlin“ and “/etc/localtime” are
identical.
--
Yo
https://bugs.kde.org/show_bug.cgi?id=355858
--- Comment #5 from David Edmundson ---
That's not right, it should be a symlink to somewhere in /usr/share/timezone
like this:
lrwxrwxrwx 1 root root 35 Oct 17 09:19 localtime ->
../usr/share/zoneinfo/Europe/London
--
You are receiving this m
https://bugs.kde.org/show_bug.cgi?id=355858
--- Comment #4 from M G Berberich ---
I tried the version from git. Does not work either.
--
You are receiving this mail because:
You are watching all bug changes.
13 matches
Mail list logo