Clock problem with PCF8583

I found a BS2 sample program on Parallax web site to deal directly with my BS2 (attached file).This program
works at 98%. There is a debug windows to set Hours /Minutes and seconds. Minutes and second are set and send back perfectly to the debug window but Hours are not set!!!! Hours reading is working because when I set Minutes and second to 59, Hours are increasing. I tried to catch and read" hour" value in the program without succes ?????
Is there somebody that meet this problem before.Thank you for your help
Best regards
BS2

8K
Comments
To set Hours you need to add a missing code in "put_clock" subroutine.
I2Cwork register is loaded with the hour value but "GOSUB I2C_TX_Byte" code is missing to send the value to PCF 8583. So just add GOSUB I2C_TX_Byte before GOSUB I2C_Stop and it works fine.
Thank you Jon.
Best regards