Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: "Javier" Newsgroups: gmane.os.cygwin Subject: RE: strange delay in date? Date: Wed, 29 May 2002 03:14:01 +0200 Lines: 73 Message-ID: References: <15541 DOT 47460 DOT 102000 DOT 235623 AT gargle DOT gargle DOT HOWL> <15541 DOT 49155 DOT 260000 DOT 104176 AT gargle DOT gargle DOT HOWL> NNTP-Posting-Host: 213-4-19-147.uc.nombres.ttd.es X-Trace: main.gmane.org 1022634797 27177 213.4.19.147 (29 May 2002 01:13:17 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Wed, 29 May 2002 01:13:17 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Hi! I've been doing some "extra" testing (sorry if I'm beating a dead horse :), and it seems that building a set of timezone data files and linking /etc/localtime to them is _not_ the answer :( I went to http://www.twinsun.com/tz/tz-link.htm, I got both tz files ( wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz') and after tweaking the Makefile (setting the timezone to Europe/Madrid and setting cc = gcc and AWK = awk instead of their settings), I did make zones and I got a bunch of output files ('file' tells me they are timezone data files). So I mv the output to /usr/share/zoneinfo, I do a ln -s /usr/share/zoneinfo/Europe/Madrid /etc/localtime.... ... ... and date is still giving me the wrong output!! So, is that change of any use, or should I stick with ""declare -x TZ=ECT-1DST"" ? (that does work, but I was wondering if the timezone and /etc/localtime are going to be of any use or should I just forget about them?? Thanks a lot, and sorry if I'm just doing something stupid... Javier -- ---- You are nobody until you have been ignored by a cat. "Markus Hoenicka" escribió en el mensaje news:15541 DOT 49155 DOT 260000 DOT 104176 AT gargle DOT gargle DOT HOWL... > The date manpage tells you that date uses the environment variable > TZ. Set this variable in your /etc/profile or ~/.bashrc to the correct > value. > > regards, > Markus > > Marcos Lorenzo de Santiago writes: > > Thanks a lot now I know what is the problem, but I don't know how to > > resolve it. I know how to do it in linux, but not in cygwin (arrgh! :) > > > > In linux you just had to link /etc/localtime to > > /ush/share/zoneinfo/wherever_you_are and that's it, but in cygwin there's > > no /usr/share/zoneinfo folder. I looked manpages but I found nothing. > > -- > Markus Hoenicka, PhD > UT Houston Medical School > Dept. of Integrative Biology and Pharmacology > 6431 Fannin MSB4.114 > Houston, TX 77030 > (713) 500-6313, -7477 > (713) 500-7444 (fax) > Markus DOT Hoenicka AT uth DOT tmc DOT edu > http://ourworld.compuserve.com/homepages/hoenicka_markus/ > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/