From 16a96f87abaeb6e554cb5eebc7244f067e79a09a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Mon, 27 Nov 2023 22:31:49 -1000 Subject: [PATCH] Improve wording for invalid YAML timestamps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are not RFC822 time representations. So do not call them that name, it just add confusion. Signed-off-by: Romain Tartière --- _scripts/_malformedevents.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_scripts/_malformedevents.rb b/_scripts/_malformedevents.rb index 5004a9bc58..e57df3921b 100755 --- a/_scripts/_malformedevents.rb +++ b/_scripts/_malformedevents.rb @@ -45,7 +45,7 @@ issues += 1 end else - warn "#{filename}: event 'eventdate' (#{start_date}) is not a valid RFC822 date" + warn "#{filename}: event 'eventdate' (#{start_date}) is not a valid YAML timestamp" issues += 1 end @@ -56,7 +56,7 @@ issues += 1 end elsif end_date - warn "#{filename}: event 'enddate' (#{end_date}) is not a valid RFC822 date" + warn "#{filename}: event 'enddate' (#{end_date}) is not a valid YAML timestamp" issues += 1 end end