developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks




Bug: pair-wise date lists equality
Anton Apostolov 05/25/2007 11:07 AM
Domino Designer 6.0.2 CF2 All Platforms


hi all,

just to let you know that date lists comparison does not work as you probably expect:

_holidays := @Date( 2007; 12; 25 ) : @Date( 2008; 1; 1 );
_d := _holidays[1];
_d *= _holidays; "returns @True which is correct"
but
_d := _holidays[2];
_d *= _holidays; "returns @False which is not correct"

if you compare text lists result is correct:
@Text( _d ) *= @Text( _holidays ); "returns @True in both cases as expected"

Go back