Article View: news.software.nn
Article #442Re: sorting by date within subject?
From: Paul Eggert
Date: Thu, 17 Dec 1992 14:45
Date: Thu, 17 Dec 1992 14:45
28 lines
1210 bytes
1210 bytes
gst@spdcc.com (Gary S. Trujillo) writes:
>I find that (using the default "subject" sorting order) the order of articles
>within each subject is essentially random, as far as I can tell.
This is often due to a bug in pack_date which causes time zone info to
be mis-applied. Most of this bug will be patched when NN 6.4.19 comes
out. If you can't wait until then, here's a quick workaround:
*** nn6.4.16/pack_date.c 1991/04/17 08:32:40
--- nn-patch/pack_date.c 1992/12/17 14:42:56
***************
*** 256,262 ****
res *= 24 * 60;
res += (hour * 60) + min;
! return res + tzone(date);
}
--- 256,262 ----
res *= 24 * 60;
res += (hour * 60) + min;
! return res - tzone(date);
}
Technical Details
Message-ID:
<bk-?BtCt@twinsun.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!usc!news.service.uci.edu!ucivax!ucla-cs!twinsun!eggertReferences:
<1992Dec17.072528.28609@spdcc.com>Show Full Headers
Complete Article Headers
Newsgroups: news.software.nn Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!usc!news.service.uci.edu!ucivax!ucla-cs!twinsun!eggert From: eggert@twinsun.com (Paul Eggert) Subject: Re: sorting by date within subject? Message-ID: <bk-?BtCt@twinsun.com> Sender: usenet@twinsun.com Nntp-Posting-Host: farside Organization: Twin Sun, Inc References: <1992Dec17.072528.28609@spdcc.com> Date: Thu, 17 Dec 1992 14:45:30 GMT Lines: 28