Skip to content

Commit

Permalink
Improve wording for invalid YAML timestamps
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
smortex committed Nov 28, 2023
1 parent d1b4139 commit 16a96f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _scripts/_malformedevents.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 16a96f8

Please sign in to comment.