[Namazu-users-en] Re: Problems with date sorts

Tadamasa Teranishi yw3t-trns at asahi-net.or.jp
Sat Jan 13 13:58:00 JST 2007

Lindsay Haisley wrote:
> > Does date information accurately follow the form of RFC2822 by
> > all documents of MailMan?
> >
> > Is there mail with an illegal Date: field ?
> >
> > Please show the Date: field of the mail.
> OK, here is an example.  I used the following query:
> http://www.kca-tx.org/mailman/kca/namazu.cgi?query=Laptop&submit=Search%21&idxname=kca&max=100&result=short&sort=date%3Aearly
> Here's the result:
> 1. win 98SE (score: 2)
>     /pipermail/kca/2002-September/000192.html (4,152 bytes)
> You can see from path names that these are out of order.  Here are the Date
> fields in each of these, copy-n-pasted from the files themselves:
> Sun Sep 22 14:07:51 CDT 2002 
> Fri Jul 19 11:54:00 CDT 2002
> Fri Aug 23 08:44:57 CDT 2002
> Mon Mar  3 10:14:12 CST 2003
> Tue Jan 14 17:37:11 CST 2003

To begin with, Date of pipermail was not RFC2822 form. 
However, Date of pipermail is correctly reflected in the field 'Date'.

Then, let's examine the time stamp of pipermail file next. 
For instance, please confirm the following file and confirm the date
by 'ls -alF'. 


It might be not corresponding to Date of the content of the time stamp 
and the file. 

The date sorting is a function to sort the time order of the stamp. 
There are two kinds of methods of solving this problem. 

One is a method of changing the time stamp of the file according 
to information on Date of contents of the file. 

Another one is a method of using the field sorting UTC function. 
Do you know the method of setting the field sorting UTC function?
TADAMASA TERANISHI  yw3t-trns �� asahi-net.or.jp
Key fingerprint =  474E 4D93 8E97 11F6 662D  8A42 17F5 52F4 10E7 D14E

More information about the Namazu-users-en mailing list