Trying to fix bug with Am/Pm in times