sunwait
sunwait copied to clipboard
Year, formerly Y2K compliant, is no longer
Docs say:
y [YYYY] Set the target Year to calculate for. 2000 to 2099.
However:
sunwait report 43.70011N 79.4163W d 21 m 1 y 2024
Error: "Year" must be between 0 and 99: 2024
As noted in many other issues, the date is off by one, always.
I still think your last version from ~2004 is far preferable to any later "improvements": https://web.archive.org/web/20130202223741/http://www.risacher.org/sunwait/
I have to rewrite my scripts that calculate dates and times to run my indoor garden due this change. Not sure why a 2 digit year was chosen but alas.... To the author: development whims have consequences.