Version: unknown (using KDE 3.5.1, compiled sources) Compiler: gcc version 3.3.6 OS: SunOS (sun4u) release 5.8 The timezone processing in kdecore/ktimezones.cpp needs to be a bit more advanced on Solaris. In my case, our local time zone is set to US/Pacific which is linked to America/Los_Angeles in the file /usr/share/lib/zoneinfo/src/backwards for backwards compatibility for names prior to 1993. KDE needs to be able to map the old names to the new names like Solaris normally does.
Created attachment 14795 [details] set zoneinfo path for solaris The attached patch should set the path to Solaris' zoneinfo files correctly. Please test.
I see that you added /usr/share/lib/zoneinfo/tab/zone_sun.tab for Solaris. The tab subdirectory does not exist, at least in Solaris 2.8.
Ok, it seems this file was added in Solaris 9; for any previous Solaris version the information of the tab file (longitude, latitude, etc.) is not available. And now I understand the grep/awk hack in this file which definitely breaks KDE's idea of the correct time on Solaris >= 9... I'll try to look at this issue more closely later this week...
As a temporary workaround I copied the zone.tab file from a Linux box to /usr/share/zoneinfo on Solaris with the US/Pacific timezone added. Perhaps KDE could include a copy of this file and use it if it can't find the file elsewhere.
Is this still valid for KDE4 ? Thanks
S8 also EOL'ed some time ago.