[haiku-bugs] [Haiku] #8914: Haiku ignores POSIX TZ environment variable

  • From: "edglex" <trac@xxxxxxxxxxxx>
  • Date: Thu, 23 Aug 2012 14:14:47 -0000

#8914: Haiku ignores POSIX TZ environment variable
--------------------------+------------------------------
 Reporter:  edglex        |        Owner:  nobody
     Type:  bug           |       Status:  new
 Priority:  normal        |    Milestone:  R1
Component:  System/POSIX  |      Version:  R1/Development
 Keywords:                |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+------------------------------
 According to
 http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html

 "The contents of the environment variable named TZ shall be used by the
 ctime(), localtime(), strftime(), mktime(), [TSF]  ctime_r(), and
 localtime_r()  functions, and by various utilities, to override the
 default timezone." (on POSIX systems)

 This causes a regression test of swi prolog to fail unless the timezone is
 manually set to CET.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8914>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: