Issue a STYLE message when normalizing the date format in .Dd/.TH.
authorschwarze <schwarze@openbsd.org>
Sat, 28 Jul 2018 18:32:30 +0000 (18:32 +0000)
committerschwarze <schwarze@openbsd.org>
Sat, 28 Jul 2018 18:32:30 +0000 (18:32 +0000)
commit7674a4360d6c26a789ab62ef0ed916622cae1cc3
treec3266f7b0215e8aeb98eeb8aa4f5ce5ac0570a6d
parent2070056893c4ac49dcd1aaeabbd88a5ae3f9eb9c
Issue a STYLE message when normalizing the date format in .Dd/.TH.
Leah Neukirchen pointed out that mdoclint(1) used to warn about a
leading zero before the day number, so we know that both NetBSD and
Void Linux want the message.  It does no harm on OpenBSD because
Mdocdate always does the right thing anyway.
jmc@ agrees that it makes sense in contexts not using Mdocdate.
share/man/man7/mdoc.7
usr.bin/mandoc/mandoc.1
usr.bin/mandoc/mandoc.c
usr.bin/mandoc/mandoc.h
usr.bin/mandoc/read.c