On 30/10/06 20:46, Carlos E. R. wrote:
The Monday 2006-10-30 at 19:00 -0600, Darryl Gregorash wrote:
These changes can be made directly into /etc/sysconfig/clock Mmmm... I would rather recomend using Yast for this. If you insert the wrong string, the results will be, er... confusing.
That, my friend, is why the good lord invented copy'n'paste :-)
In this case, it is not so simple. You have to look at the directory "/usr/share/zoneinfo/", and choose one - and not all are valid. For example you may chose "Europe", so you have to look further at "/usr/share/zoneinfo/Europe/" and choose your capital city, like for instance, "Madrid". Therefore, I'd had to enter "Europe/Madrid" in the sysconfig/clock file.
This is one of the cases when Yast is so much easier and safer ;-)
In this case, it actually is so simple. I already did the legwork for both Ed and Simon -- all they have to do is copy and paste. They don't have to worry about how the /usr/share/zoneinfo/ tree is set up, don't have to worry about "where is that *#@$*&(*& MST7MDT thingy anyway" when they use the Date and Time panel in Yast (but for the record, it is under "Global", which is merely yast-ese for "it is in /usr/share/zoninfo/ and not in any subdirectory of that), and certainly don't have to wonder what that "etc" thingy is at the bottom of the zone column in the Yast Date and Time panel. I don't know how much more simple it could be, and I really don't know why people always have to argue about what is/should be/could be/might be, without actually directly answering the OP's question(s), when someone else has actually gone out and found a safe, complete, solution for the OP. Next will you be suggesting that using the Yast sysconfig editor is equally evil? (That is surely how Ed entered his timezone information.)