[Midnightbsd-cvs] [MidnightBSD/src] a25dce: date: add GNU -d compatibility

Thread index · Date index · Mailing lists

From: Lucas Holt <noreply_at_github.com>
Date: Thu, 15 Oct 2026 03:21:27 UTC

  Branch: refs/heads/stable/4.1\n  Home:   https://github.com/MidnightBSD/src\n  Commit: a25dce883c36f51818cba6d77bd3411f21e543ac\n      https://github.com/MidnightBSD/src/commit/a25dce883c36f51818cba6d77bd3411f21e543ac\n  Author: Lucas Holt <luke@foolishgames.com>\n  Date:   2026-10-14 (Wed, 14 Oct 2026)\n\n  Changed paths:\n    M bin/date/date.1\n    M bin/date/date.c\n    M bin/date/tests/parse_test.sh\n\n  Log Message:\n  -----------\n  date: add GNU -d compatibility\n\nSupport common GNU date -d input forms, including @epoch, simple relative day names, ISO-like date/time strings, and -f input format parsing. Add ATF coverage for the compatibility path.\n\nAI-Assisted-by: GPT-5 Codex\nSigned-off-by: Lucas Holt <luke@foolishgames.com>\n\n\n(cherry picked from commit 35277d90b3)\n\n\n  Commit: 92c1c4eaf4e84b08dc35a4d1c44e9a93597eff85\n      https://github.com/MidnightBSD/src/commit/92c1c4eaf4e84b08dc35a4d1c44e9a93597eff85\n  Author: Lucas Holt <luke@foolishgames.com>\n  Date:   2026-10-14 (Wed, 14 Oct 2026)\n\n  Changed paths:\n    M UPDATING\n    M bin/cat/cat.1\n    M bin/cat/cat.c\n    M bin/date/date.1\n    M bin/date/date.c\n    M bin/date/tests/format_string_test.sh\n    M bin/date/vary.c\n    M bin/dd/dd.c\n    M bin/dd/extern.h\n    M bin/dd/misc.c\n    M bin/dd/position.c\n    M bin/dd/tests/dd2_test.sh\n    M bin/ls/ls.1\n    M bin/ls/ls.c\n    M bin/ls/ls.h\n    M bin/ls/print.c\n    M bin/ls/tests/ls_tests.sh\n    M bin/ps/Makefile\n    M bin/ps/extern.h\n    M bin/ps/keyword.c\n    M bin/ps/print.c\n    M bin/ps/ps.1\n    M bin/ps/ps.c\n    M bin/ps/ps.h\n    M bin/pwait/pwait.1\n    M bin/pwait/pwait.c\n    M bin/pwait/tests/Makefile\n    A bin/pwait/tests/pwait_reap.c\n    M bin/pwait/tests/pwait_test.sh\n    M bin/timeout/tests/timeout_test.sh\n    M bin/timeout/timeout.1\n    M bin/timeout/timeout.c\n    M lib/libc/sys/kqueue.2\n    M lib/libsysdecode/flags.c\n    M share/man/man3/queue.3\n    M sys/kern/kern_event.c\n    M sys/kern/kern_exit.c\n    M sys/kern/sys_procdesc.c\n    M sys/sys/event.h\n    M sys/sys/queue.h\n\n  Log Message:\n  -----------\n  bin: sync timeout, ps, pwait, ls, cat, dd and date with FreeBSD stable/14 (#551)\n\n(cherry picked from commit 9badccf882)\n\n\nCompare: https://github.com/MidnightBSD/src/compare/bee6740dbc7f...92c1c4eaf4e8\n\nTo unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications\n\nMidnightbsd-cvs\nmidnightbsd-cvs@midnightbsd.org\nTo unsubscribe: midnightbsd-cvs+unsubscribe@midnightbsd.org\nhttps://lists.midnightbsd.org/\n