See ChangeLog entry 2000-01-20 14:15 GMT-5 David G. Holm <dholm@ sd-llc.com>

This commit is contained in:
David G. Holm
2000-01-20 19:20:37 +00:00
parent c665d0e398
commit 948eef88c0
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
2000-01-20 14:15 GMT-5 David G. Holm <dholm@ sd-llc.com>
* source/rtl/dates.c
! Corrected CTOD() to include 0 as a year subject to SET EPOCH
(the range had been accidentally set to 1 through 99 instead
of 0 through 99).
20000119-21:21 GMT+3 Alexander Kresin
* source/pp/hbpp.c
* Few bugs fixed, reported by Matteo Baccan and Dave Pearson

View File

@@ -317,7 +317,7 @@ HARBOUR HB_CTOD( void )
}
}
if( y_value > 0 && y_value < 100 )
if( y_value >= 0 && y_value < 100 )
{
count = hb_set.HB_SET_EPOCH % 100;
digit = hb_set.HB_SET_EPOCH / 100;