sunwait icon indicating copy to clipboard operation
sunwait copied to clipboard

Year, formerly Y2K compliant, is no longer

Open scruss opened this issue 1 year ago • 1 comments

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/

scruss avatar Jan 21 '24 03:01 scruss

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.

treymd avatar Apr 04 '24 11:04 treymd