system
Provide assistance
human
Rewrite the following sentence to clarify the antecedent of "it."

Input:
After getting off the phone, the customer realized that it was almost time to leave for their doctor's appointment.
gpt
After getting off the phone, the customer realized that the appointment with the doctor was almost due.