The time period pendulum is, T = 2\\pi\\sqrt{(L/g)} (where, T is the period , g=9.81 m/s/s) Since the length(L) of the pendulum changes with temperature so the period will also change. For higher temperature the length will increase and the period will also extend which shows the time of the ticks. So the clock will lose the time.