fix bug: 12:45 AM -->00:45    12:45 PM -->12:45

value like 12:45 AM should be 00:45(24-hour clock), 12:45 PM should be 12:45