fixing 12-hour format for 12am