bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Date::fromJulian patch


From: Marcelo Dalmas
Subject: Date::fromJulian patch
Date: Fri, 3 Jan 2003 14:11:06 -0200

Hi,

I am sending a patch for date.cpp with Henry F. Fliegel and Thomas C. Van
Flandern algorithm. It's same from Commoncpp2 0.99.7 with a correction:

year = 100 * (n - 49) + i + 1;

The last "1" isn't a 1, it is a "l", :)

In current release, Date isn't working. Date return 2002-01-03 for today year.

by

-- 
Marcelo Dalmas
BRASMAP Sistemas
www.brasmap.com.br
Fone/Fax: (48) 333-2218 ramal 2114

Linux user #114373 http://counter.li.org/

Attachment: date.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]