> moseley_at_hank.org (Bill Moseley) writes: > >1) gmtime implementation seems broken: > > There is a change in the cvs version which seems to fix this.
Something rather odd I just noticed. gmtime isn't working on Solaris but is working on Linux.
I first fetched 2.1.9 from cvs on Linux and built the archive and indeed all the dates are GMT with gmtime=On.
A few minutes later I then did a cvs checkout on Solaris 2.6 and scp'ed my config file, headers and mbox archive. I created the archive and the dates are not GMT but in the local zone PST.
I figured I messed up my config so I then scp'ed the config file back to my linux machine and rebuild the archive again in a new directory and then the dates were all UTC.
Any suggestion on where to look for the problem?
This is an example on the Solaris machine:
$ rm -rf archive.new
$ fgrep gmtime hypermailrc | grep -v ^#
gmtime = On
$ gzip -dc mbox.new/*.gz | hypermail -i -c hypermailrc -d archive.new
$ ls -l archive.new/2004-01/date.html
.. 25235 Jan 22 21:11 archive.new/2004-01/date.html
$ fgrep PST archive.new/2004-01/date.html
<li><dfn><a href="#first" title="jump to messages list" tabindex="1">125 messages</a></dfn>: <dfn>Starting</dfn> Fri Jan 02 2004 - 11:38:40 PST, <dfn>Ending</dfn> Mon Jan 19 2004 - 18:00:50 PST</li>
: Fri Jan 23 2004 - 05:11:19 PST
$ fgrep 2.1.9 archive.new/2004-01/date.html
<meta name="generator" content="hypermail pre-2.1.9, see http://www.hypermail.org/" />
This archive was generated by <a href="http://www.hypermail.org/">hypermail pre-2.1.9</a>
Back on the linux machine:
$ fgrep GMT archive.new/2004-01/date.html
<li><dfn><a href="#first" title="jump to messages list" tabindex="1">125 messages</a></dfn>: <dfn>Starting</dfn> Fri Jan 02 2004 - 11:38:40 GMT, <dfn>Ending</dfn> Mon Jan 19 2004 - 18:00:50 GMT</li>
: Fri Jan 23 2004 - 04:54:31 GMT
Oh, another small bug:
http://swish-e.org/Discussion/archive/2004-01/date.html#end
There doesn't seem to be an <a name="end"> tag. I'm not using a custom footer.
-- Bill Moseley moseley_at_hank.orgReceived on Fri 23 Jan 2004 03:08:21 PM GMT
This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:12 AM GMT GMT