[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with GMT date
On September 15, 2003 at 22:31, "Nunayo Bizniz" wrote:
> >>I am trying to duplicate a list archive I have running on a
> >>machine in the US on another system in the UK. I am using
> >>$MSGGMTDATE to display the GMT date and I am also doing the day
> >>grouping. On the system in the US everything works fine, but in
> >>the UK archive, the GMT is 1 hour later than it should be. The
> >>server is at +0100 timezone. On the UK system, the days appear
> >>to begin at 01:00, which is actually 00:00 so that's correct,
> >>except I also get some duplicate day section headers, e.g. two
> >>September 15 sections.
>
> >>I am using the same resource file on both, and MHonArc 2.6.8
You did not provide the version of Perl or the operating system
you are using, but they could have part in what may be wrong.
Examining the db files you provided to me, one difference I
noted is the LANG resource is different, but I am not sure
it may play a role. For the US archive, LANG is set to POSIX
while for the UK archive, it is set to en_US.
Also, you have POSIXSTRFTIME enabled. I am guessing that this
along with LANG could be causing the problem, or it could
just by your system's strftime(). It is possible that en_US
could be skewing the system's strftime() behavior, or strftime()
on your system is doing something itself.
On your UK sytem, try some experimentation with the LANG
and POSIXSTRFTIME resources. First, try to disable the use
of POSIXSTRFTIME to see if MHonArc's version provides the same
results. You can also try setting LANG to the same value on
the US and UK system to see what happens.
I have serious doubts that LANG should affect anything, but
it is worth testing its value is different. I did a test run
with "POSIX" and "en_US" on my system, but achieved no difference
is generated output.
--ewh
---------------------------------------------------------------------
To sign-off this list, send email to majordomo@mhonarc.org with the
message text UNSUBSCRIBE MHONARC-USERS
[Index of Archives]
[Bugtraq]
[Yosemite News]
[Mhonarc Home]