home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 19961 < prev    next >
Encoding:
Internet Message Format  |  1992-12-11  |  1.5 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!lif.de!droese
  2. From: droese@lif.de (Jan-Olaf Droese)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: [Q] How to set a timezone?
  5. Message-ID: <2492@sunny.lif.de>
  6. Date: 11 Dec 92 09:37:26 GMT
  7. References: <9212074947@layla.RoBIN.de> <1992Dec9.002743.3085@serval.net.wsu.edu>
  8. Reply-To: jano@layla.RoBIN.de
  9. Organization: Lahmeyer International, Frankfurt
  10. Lines: 32
  11.  
  12. In article <1992Dec9.002743.3085@serval.net.wsu.edu> hlu@eecs.wsu.edu (H.J. Lu) writes:
  13. >In article <9212074947@layla.RoBIN.de>, jano@layla.RoBIN.de (Jan-Olaf Droese) writes:
  14. >|> I just compiled elm2.4PL2 without many problems. However, I can't get
  15. >|> elm to use the right timezone.
  16. >|> I thought setting TZ=MET-1MST in /etc/profile and exporting it should set
  17. >|> my local timezone. 
  18. >
  19. >Use time stuff, which should be in SLS.
  20.  
  21. Maybe it wasn't included in my (quite old) version?
  22.  
  23. >|> Do I miss something serious, or should this really be a bug somewhere in
  24. >|> the C-library Routines?
  25. >|> (I'm using the gcc2.2.2 as it was distributed with SLS 0.98.1, my kernel is
  26. >|> 0.98.1)
  27.  
  28. >If you use the time stuff in libc.a, everything should be automatic. Checkout
  29. ><time.h> and use the functions there. Could you please try
  30. >
  31. >date
  32.  
  33. Of course I did! It doesn't give me a timezone either.
  34. Somone wrote I would need time.tar.Z. I will probably try to get it now.
  35.  
  36. >H.J.
  37.  
  38. JanO
  39. -- 
  40. Jan-Olaf Droese                    Lahmeyer Internation GmbH
  41.                                    Lyoner Str. 22
  42. email: droese@lif.de               6000 Frankfurt am Main
  43. phone: +49-69-6677-673             Germany
  44.