Revert "Rails 7 update" (#25667)
This commit is contained in:
@ -16,7 +16,7 @@ class RSS::Channel < RSS::Element
|
||||
end
|
||||
|
||||
def last_build_date(date)
|
||||
append_element('lastBuildDate', date.to_fs(:rfc822))
|
||||
append_element('lastBuildDate', date.to_formatted_s(:rfc822))
|
||||
end
|
||||
|
||||
def image(url, title, link)
|
||||
|
@ -20,7 +20,7 @@ class RSS::Item < RSS::Element
|
||||
end
|
||||
|
||||
def pub_date(date)
|
||||
append_element('pubDate', date.to_fs(:rfc822))
|
||||
append_element('pubDate', date.to_formatted_s(:rfc822))
|
||||
end
|
||||
|
||||
def description(str)
|
||||
|
Reference in New Issue
Block a user