Fixed error when clock is pm it chose the wrong string