Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ONE_YEAR is defined as 365.24225 days, but usually it is 365.2425 days #54

Open
tzccinct opened this issue May 26, 2021 · 0 comments
Open

Comments

@tzccinct
Copy link

On Gregorian calendar, a mean year is 365.2425 days. But Time::Seconds defines ONE_YEAR as 365.24225 days.

ONE_YEAR => 31_556_930, # 365.24225 days

Time-Piece/Seconds.pm

Lines 242 to 244 in adc2264

The methods make the assumption that there are 24 hours in a day, 7 days in
a week, 365.24225 days in a year and 12 months in a year.
(from The Calendar FAQ at http://www.tondering.dk/claus/calendar.html)

According to The Calendar FAQ,,

Isn’t there a 4000-year rule?

It has been suggested (by the astronomer John Herschel (1792-1871) among others) that a better approximation to the length of the tropical year would be 365969/4000 days = 365.24225 days.
(...snip..)
This rule has, however, not been officially adopted.

Why is an unofficial rule/value adopted in Time::Seconds? We might want to define ONE_YEAR as 365.2425 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant