Wix ignoring JS logic.

Have you console.log the hours value? What is the value?