[Bug 244801] ncal prints bogus information for Julian/Gregorian change date

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 14 04:19:26 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244801

            Bug ID: 244801
           Summary: ncal prints bogus information for Julian/Gregorian
                    change date
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: grog at FreeBSD.org

ncal -p prints a table with the transition date from Julian to Gregorian for
some, but by no means all, "countries".  It also includes an entry for the
country "Latin", with a transition date 9999-5-31.  The commit log for revision
r45064 clarifies that this is because 9999-12-12 is out of range.

It's not clear why this entry was ever added.  Many real countries (Armenia and
Azerbaijan, for example) aren't in this list.  Arguably the entire
functionality should be removed; it's not needed for anything else in the
program, and more up-to-date information is now readily available on the web
(https://en.wikipedia.org/wiki/List_of_adoption_dates_of_the_Gregorian_calendar_per_country
for example).  I would suggest at least removing the entry for "Latin".

Reported by: Hamid Ali.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list