Will a pendulum gain or lose time when taken to the top of a hill?

Value of acceleration due to gravity is decreases at the top of the hill. Time period of a simple pendulum is given by :

Decrease in g means, increase in T, i.e., the
pendulum takes more time to complete vibration, it implies that it will lose time.