You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The divider for year is obviously wrong, as the number of days in a year are 365 (366 for leap years), and 7*52 = 364. This means that any calculation that depends on the year will be off by at least one day per year.
Fix by changing 60 * 60 * 24 * 7 * 52 to 60 * 60 * 24 * 365 on line 88 in init.py
The text was updated successfully, but these errors were encountered:
In init.py time_units are defined as follows:
The divider for year is obviously wrong, as the number of days in a year are 365 (366 for leap years), and 7*52 = 364. This means that any calculation that depends on the year will be off by at least one day per year.
Fix by changing
60 * 60 * 24 * 7 * 52
to60 * 60 * 24 * 365
on line 88 in init.pyThe text was updated successfully, but these errors were encountered: