fixed bug with time entry at 12 pm and am"