Re: BST instead of GMT
On Friday, 7 April 2006 at 11:34:29 +0100, Philip Radford wrote: > On Friday, April 07, 2006 12:52 AM, "Greg 'groggy' Lehey" wrote: >> [text omitted] > > Thanks for your comments. Both /etc/localtime and > /usr/share/zoneinfo/Europe/London are the same. > > I have since created /etc/localtime as a symbolic link to > /usr/share/zoneinfo/Europe/London but still only shows GMT when I enter > date. Yes, that won't make any difference. > The only thing I haven't mentioned to date is that I use bash as my > shell if that is an issue. No, I use bash too. > Also there was a lot of talk while researching on google about a TZ > environment variable. Should I have this set as I do not have one at > the moment. You shouldn't set one. But what happens with these commands? $ date $ TZ=Europe/London date It could be that your clock is just set incorrectly. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Finger [EMAIL PROTECTED] for PGP public key. See complete headers for address and phone numbers. pgp0RamVuOi2z.pgp Description: PGP signature
Re: BST instead of GMT
I am looking for a way to get my FreeBSD 5.3 box to show my local time as BST (British Summer Time) as apposed to GMT. su cd /etc rm -f localtime ln -s /usr/share/zoneinfo/Europe/London localtime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BST instead of GMT
On Thursday, 6 April 2006 at 10:58:10 +0100, Philip Radford wrote: > Hi all, > > I am looking for a way to get my FreeBSD 5.3 box to show my local > time as BST (British Summer Time) as apposed to GMT. > > I have checked and double-checked the timezone and have set this to > Europe/London. How? > However I think I need to do something with the locale. Hunting > around led me to the /etc/login.conf and the concept of classes but > can't understand or follow the documentation to get it set up > correctly. > > Any help or guidance would be appreciated. Well, the obvious question: where's the problem? How do you determine that there's something wrong? Your mail system is reporting UTC+0100. If you have the right date and the right contents of /etc/localtime, it should be impossible for it to show GMT. What happens when you enter the following? $ date $ cmp /usr/share/zoneinfo/Europe/London /etc/localtime If the cmp says they're different, change to cp and try again. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpkWfiFU96jH.pgp Description: PGP signature
Re: BST instead of GMT
Philip Radford wrote: Hi all, I am looking for a way to get my FreeBSD 5.3 box to show my local time as BST (British Summer Time) as apposed to GMT. I have checked and double-checked the timezone and have set this to Europe/London. However I think I need to do something with the locale. Hunting around led me to the /etc/login.conf and the concept of classes but can't understand or follow the documentation to get it set up correctly. Check that /etc/localtime exists and is the same as the London timezone file: $ diff /etc/localtime /usr/share/zoneinfo/Europe/London should produce no output. Also check that you do not have a TZ variable set as that will affect what date shows you. I've never had to do anything login class related to make this work. There may be other things... --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
BST instead of GMT
Hi all, I am looking for a way to get my FreeBSD 5.3 box to show my local time as BST (British Summer Time) as apposed to GMT. I have checked and double-checked the timezone and have set this to Europe/London. However I think I need to do something with the locale. Hunting around led me to the /etc/login.conf and the concept of classes but can't understand or follow the documentation to get it set up correctly. Any help or guidance would be appreciated. Many thanks. Regards Philip Radford. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"