display hours if less than 24