[Bug 280574] x11-wm/lxqt-panel: broken panel clock

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 02 Aug 2024 18:19:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280574

--- Comment #2 from Jesper Schmitz Mouridsen <jsm@FreeBSD.org> ---
Thanks, also see the root cause https://bugreports.qt.io/browse/QTBUG-1263.
You might be able to fix it be either setting your timezone with tzsetup or by
setting TZ env manually..  We added logic in startlxqt to set TZ based on
/var/db/zoneinfo. But TZ is not set if you do not have a /var/db/zoneinfo
(written by tzsetup)
If you are UTC set TZ="UTC" i guess.. 



if [ -f /var/db/zoneinfo ]; then TZ=`cat /var/db/zoneinfo`;
        cmp -s /usr/share/zoneinfo/$TZ /etc/localtime
        if [ $? -eq 0 ]; then
                export TZ="${TZ}"
        fi
fi

-- 
You are receiving this mail because:
You are the assignee for the bug.