[Zope] bobobase_modification_time one day back?
Wolfgang Strobl
ws@gmd.de
Thu, 2 Mar 2000 14:51:35 +0100
Function TimeStamp_yad(int y) in
zope-2.1.4-src\lib\python\zodb\TimeStamp.c
expects a 1900 based year (i.e. 0 = 1900, 2000=100, etc.),
for positive agruments, when computing (y+300)/400.
TimeStamp_abst(int y, int mo, int d, int m, int s)
seems to expect a 0 based year, on the other hand.
l = y%4==0 && (y%100 != 0 || y%400==0)
But it gets called with a 1900 based year in line 290 in
function TimeStamp_timeTime(
TimeStamp_abst(TimeStamp_y-1900, TimeStamp_m-
1, TimeStamp_d-1,
--
o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394
/\ * GMD mbH #include
_`\ `_<=== Schloss Birlinghoven, <std.disclaimer>
__(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________