Page 54 of 54

Re: I want to be a HMG Poster

Posted: Mon Mar 11, 2024 7:16 am
by emzampi
Hi Gerald I can no longer post

Possible bug caused by leap year

Posted: Mon Mar 11, 2024 7:35 am
by emzampi
I think I found a leap year bug, using this command
@ 20/h, 870/s DATEPICKER Date_3 ;
DATE VALUE() ;
Width 168/l;
Height 55/h;
FONT "Arial" SIZE 50 / w bold ;
IN CHANGE { || ( year0 := SUBSTR(DTOC(condo.date_3.value ), 7, 4 ) ) } ;
FORMAT "aaaa" ;
TOOLTIP "Choose the year"

Normally I can change the year while today 02/29/2023 if I use the arrows to change the year this disappears... but if I change the day from 29 to 28 the year change works again with the up and down arrows