Problems with INN-2.2.3 and SuSE6.4
Russ Allbery
rra at stanford.edu
Sun Dec 10 22:40:45 UTC 2000
Christian Renner <stooge at josua.ithnet.com> writes:
> Any idea: is there any chance of making INN 2.2.3 or above accept news
> that come with a date header of "8 Dec 100 21:39:00 +0100" ???
Hm. Looking at parsedate.y in 2.3, there are actually a whole bunch of
places that should be handling this:
if ($4 > 100) {
/* assume year is YYYY format, so need not to add 1900 */
yyYear = $4;
} else {
/* assume year is YY format, so need to add 1900 */
yyYear = $4 + (yyYear / 100 + (yyYear % 100 - $4) / 50) * 100;
}
I'm not sure why it's not doing what you want. Hurm. Although I also
have no idea what that formula is really doing, since it's not obviously
just adding 1900.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-workers
mailing list