Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Dave Saville
July 18, 2011, 10:00 am
rate this thread
find a solution.
On OS/2 the standard TZ environmental is of the form:
Now if Apache sees that it freaks and thinks everything is GMT so
right now the logs would be one hour out. I discovered that if one
uses the POSIX form of TZ:
Then setting that in the startup script for Apache almost gets it
right in that the time is correct but the timezone offset is not. This
might be Apache code, it has a *huge* amount of code dealing with time
stamps, or it might be my LIBC library.
However, running with the POSIX TZ then screws up perl CGI scripts (I
don't use mod_perl BTW). I am wary of resetting $ENV in case it
affects Apache so what I think I need to do to work around the problem
is check for a POSIX TZ format and figure out for myself if DST
applies. I need to get it correct as I am generating email DATE:
headers. Before I try very hard is there any module that might assist?
I could not find one.
- » Posting Guidelines for comp.lang.perl.misc ($Revision: 1.9 $)
- — Next thread in » PERL Discussions