Convert time to 12h and add AM/PM to calendar.py