http://bugzilla.citadel.org/show_bug.cgi?id=184
*** shadow/184 Fri Jul 14 15:21:40 2006
--- shadow/184.tmp.8103 Fri Jul 14 15:21:40 2006
***
*** 0
--- 1,65
+ Bug#: 184
+ Product: Citadel/UX
+ Version: 5.7x
+ Platform: PC
+ OS/Version: Linux
+ Status: NEW
+ Resolution:
+
Oh yes, it only dates back to 4.3BSD. A decade is relatively new...
The problem is finding a standard way to do this.
Peter's suggestion of pointing this sort of thing out in the setup script
is a pretty good one, since apparently the TZ environment variable
standard is a relatively new one.
Hm, I don't have TZ set.
I suppose you could follow the /etc/localtime symlink and see where it
leads -- assuming it IS a symlink...
Prompt them during install. If TZ is set, give the option of using that,
or entering your own.
I say use TZ... if someone *isn't* using it, at least you can point to
something that says, 'Hey, that's the standard!'.
It is ... but I don't know of any standard way to get the operating system
to tell you your timezone in Olsen database format. I know that in Red
Hat I can look in /etc/sysconfig/clock and grab the TZID line. But
obviously that won't work anywhere else.
Hmm.. actually, that database is supposed to be standard on Linux and
other unixy operating systems.
Blah. I spent several hours last night trying to come up with a way to
get libical to know "the timezone this computer is currently in" but could
not come up with anything. I would appreciate any help anyone could
offer. This would be a nice little bit of code that doesn't require
in-depth C