Behavior of the pendulum around the solar eclipse