Click to enlarge
In this you can see the work of the astronomer priests which were the first to fix the 360 day calendar and then the 365 day one..