Tis a problem in lib/imap.inc:

                        if ($field=="timestamp"){
                                $data = @strtotime($value->date);
                                if ($data != false)
                                        $data = $timestamp;
                                }

Should be

                        if ($field=="timestamp"){
                                $timestamp= @strtotime($val->date);
                                if ($timestamp!= false)
                                        $data = $timestamp;
                                }

(use of $value when should be $val and $data when should be $timestamp)

Not being fully au fait with CVS, please can someone do the honours?

Thanks,
Richard


On Sat, 25 Mar 2006 6:24:59 +0000, sofar <[EMAIL PROTECTED]> wrote:
> 
> 
> Hi,
> 
> right now the current cvs trunk orders by date in a very strange way. I
> suspect it has something to do with me using an ISO-ish date format string
> (Y-m-d H:S) to display dates in the date column. In any case the last
> couple of day entries end up between older (above)  and really old (below)
> mails.
> 
> Sorting done after translating to user's timeformat instead of before?
> 
> Auke



Reply via email to