Summary: | Timezone list in korganizer only shows [no selection] | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | Michael Denio <Michael.Denio> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Fix timezone list on linux |
Description
Michael Denio
2004-09-01 22:31:30 UTC
Created attachment 7453 [details]
Fix timezone list on linux
This is a patch against release 3.3
I patched the file to look for /etc/localtime and for linux to read the directory entries in zoneinfo if zone.tab isn't present. I've included my patch file. I must admit that my knowledge about timezones is limited, so I was wondering about this line: - if((f = fopen("/etc/timezone", "r")) != NULL) { + if((f = fopen("/etc/localtime", "r")) != NULL) { Is there no Linux distro using /etc/timezone these days? Reassigning all KOrganizer bug reports and wishes to the newly created korganizer-devel mailing list. This is fixed in KDE4, it uses kdelibs which has all the platform-dependant code. |