https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234663
Bug ID: 234663 Summary: calendar(1): Parsing of MonSecond in January 2019 is wrong Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: b...@freebsd.org Reporter: ka...@miyoshi.matsuyama.ehime.jp ==================================== % grep Adults /usr/share/calendar/calendar.holiday 01/MonSecond Adults Day in Japan ==================================== "Adults Day in Japan" is the second Monday in January. ==================================== % calendar -A 30 -t 1.1.2019 -f /usr/share/calendar/calendar.holiday|grep Adults Jan 7* Adults Day in Japan ==================================== This is incorrect. ==================================== % cal January 2019 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 ==================================== The correct result is "Jan 14* Adults Day in Japan". It is correct to try it with "01/TueSecond Test Day" ==================================== % calendar -A 30 -t 1.1.2019 -f TestDayfile Jan 8* Test Day ==================================== Only Monday is wrong. And on February Thursday is wrong. It seems that the day before the first day of the month is being counted in the first week. Thanks. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"