Skip to content

Commit 16a96f8

Browse files
committed
Improve wording for invalid YAML timestamps
These are not RFC822 time representations. So do not call them that name, it just add confusion. Signed-off-by: Romain Tartière <[email protected]>
1 parent d1b4139 commit 16a96f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_scripts/_malformedevents.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
issues += 1
4646
end
4747
else
48-
warn "#{filename}: event 'eventdate' (#{start_date}) is not a valid RFC822 date"
48+
warn "#{filename}: event 'eventdate' (#{start_date}) is not a valid YAML timestamp"
4949
issues += 1
5050
end
5151

@@ -56,7 +56,7 @@
5656
issues += 1
5757
end
5858
elsif end_date
59-
warn "#{filename}: event 'enddate' (#{end_date}) is not a valid RFC822 date"
59+
warn "#{filename}: event 'enddate' (#{end_date}) is not a valid YAML timestamp"
6060
issues += 1
6161
end
6262
end

0 commit comments

Comments
 (0)