Caan someone check my wiring of a digital timer?
Instruction Manual.

The issue may be more with how the old timer was connected.  How were the Black and Red at top connected for the old timer?

Does your light have two separate switches?  If yes, you could have a three way switch.