opnsense-src/etc
Dag-Erling Smørgrav 259dcedc4a strptime: Fix day-of-week calculation.
The day-of-week calculation used the raw year value without adjusting
for TM_YEAR_BASE, so it was off by one for 300 years out of every 400;
it just happened to be correct for 1901 through 2000.  It also used a
loop where a simple addition would have sufficed.

While here, simplify our version of Gauss's algorithm, and document
that we assume the Gregorian calendar.

MFC after:	1 week
PR:		282916
Reviewed by:	imp, allanjude, philip
Differential Revision:	https://reviews.freebsd.org/D47977

(cherry picked from commit 4285e024baa80f81d13cdcc016fdf0721fe57862)
2024-12-16 10:37:08 +00:00
..
gss Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
mail mailer.conf for sendmail: remove duplicate word. 2024-08-11 15:32:03 +03:00
mtree strptime: Fix day-of-week calculation. 2024-12-16 10:37:08 +00:00
root etc: remove leftover leading empty comments, blank lines 2023-08-22 13:03:28 -05:00
sendmail pkgbase: make sendmail config files as config 2024-03-27 09:30:44 +01:00
termcap termcap.small: Include xterm-256color 2023-12-09 22:15:08 -05:00
group etc: remove leftover leading empty comments, blank lines 2023-08-22 13:03:28 -05:00
Makefile Don't package /var/db/locate.database 2024-06-04 06:00:44 +01:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
master.passwd etc: remove leftover leading empty comments, blank lines 2023-08-22 13:03:28 -05:00
shells etc: remove leftover leading empty comments, blank lines 2023-08-22 13:03:28 -05:00