A year has always been measuered as an the approximate time the earth takes to complete it journey around the sun the same way a day has been measured as the approximate tie the earth takes to complete a revolution on its axis.
It may interest you to know that prior to the 16th century, virtually no one believed that earth rotates and orbits the sun.