From 9c15a959c319606df73901910293b5355bdfb893 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 28 Jul 2018 18:34:15 +0000 Subject: 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. --- read.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'read.c') diff --git a/read.c b/read.c index 8d260529..92e5370a 100644 --- a/read.c +++ b/read.c @@ -1,7 +1,7 @@ /* $Id$ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons - * Copyright (c) 2010-2017 Ingo Schwarze + * Copyright (c) 2010-2018 Ingo Schwarze * Copyright (c) 2010, 2012 Joerg Sonnenberger * * Permission to use, copy, modify, and distribute this software for any @@ -94,6 +94,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "generic style suggestion", "legacy man(7) date format", + "normalizing date format to", "lower case character in document title", "duplicate RCS id", "possible typo in section name", -- cgit