[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Elm and year 100 (was RE:ping)
On Oct 12, 1:12, Joseph S D Yao wrote:
>>
>> Elm 2.4*something with MIME/PGP patches shows the year as "100".
hello Joseph
yep, I fixed it quick (and dirty probably)
Here you have it:
elm2.4.ME+.31/lib/getarpdate.c:
/*
if ((year = curr_tm.tm_year) < 100)
year += 1900;
*/
year = curr_tm.tm_year;
year += 1900;
The localtime function gives back a struct where tm_year is /* years since 1900 */
Regards
Wim
--
Wim Peeters
System Manager
SONY Suprastructure Center Europe (SUPC-E)
SONY Network Solutions and Services Europe - Brussels (NSSE-Brussels)
Sint Stevens Woluwestraat 55 (Rue de Woluwe-Saint-Etienne)
1130 Brussel (Bruxelles), Belgium
Telephone: +32 2 724 86 42 Telefax: +32 2 726 26 86
e-mail: Wim.Peeters@sonycom.com
- References:
- Re: *ping*
- From: "Todd Williams" <todd@mscsoftware.com>