#8914: Haiku ignores POSIX TZ environment variable ----------------------------+---------------------------- Reporter: edglex | Owner: zooey Type: bug | Status: assigned Priority: normal | Milestone: R1 Component: System/POSIX | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All ----------------------------+---------------------------- Comment (by edglex): Replying to [comment:2 zooey]: > TZ is not being ignored by Haiku, try this: > TZ=EST date > At least for me, this shows the date in EST timezone (which isn't my native one). I am now unsure if the bug lies with swi-prolog or haiku, because running "TZ=CEST date" does indeed show me a date in CEST, but "TZ=CET" does not seem to do anything, while "TZ=CET+00:00" causes the swi-prolog tests to pass even though they complain about not getting the expected output. I'm not sure I understand the function of TZ well enough to know what to do about this, but this bug report does indeed seem to be incorrect, or at least about the wrong thing. > > I've tried to build swi-prolog, but failed (see bug 626 on haiku-ports for the details). > > Can you tell me which of the tests fails? swi-prolog is building for you now.. so I guess you know the test that is failing - the tests in 'library.pl' which check the output format of various date/time functions. In the main testing script (run by make check) TZ is set to "CET". -- Ticket URL: <http://dev.haiku-os.org/ticket/8914#comment:3> Haiku <http://dev.haiku-os.org> Haiku - the operating system.