And the proof of this is obvious, because "You observe days," auspicious and inauspicious, "and months and times, and years," i.e., the constellations and the course of the heavenly bodies, all of which observances spring from idolatry, against which Jeremias (10:2) says: "Be not afraid of the signs of heaven which the heathens fear."
That observances of this sort are evil and contrary to the worship of the Christian religion is plain, because the distinction of days, months, years and times is based on the course of the sun and moon. Therefore, those who observe such distinctions of times ar...e venerating heavenly bodies and arranging their activities according to the evidence of the stars, which have no direct influence on the human will or on things that depend on free will. By this practice they are put in grave danger. Therefore the faithful must avoid observing such things. Indeed, no suggestion of these things should be found among them, for whatever is done simply out of devotion to God can turn out prosperously.
But is it never lawful to look for the influence of the stars on certain things? I answer that heavenly bodies are the cause of certain effects, namely, bodily. In such things it is lawful to consider their influence. But they are not the cause of certain other things, i.e., of things that depend on free will or on good and bad fortune. Hence in such cases to look for the influence of the stars pertains to idolatry.
That this is so, he proves when he says: "You observe the days" of the Jewish rite, namely, Sabbaths and the tenth day of the month and such things, which are mentioned in a Gloss, "and months," i.e., new moons, as the first and seventh month, as is had in Leviticus (Ch. 25), "and times," namely, of the exodus from Egypt, and the practice of going to Jerusalem three times a year, "and years" of jubilee and the seventh year of remission.
Source: Commentary on Galatians