Added proper support to digital clock