fixed checkTime bug in pm hours