diff app/views/tweets/_tweet.html.erb @ 223:ad6264cca788

Update to rails 7
author nanaya <me@nanaya.pro>
date Sat, 15 Jan 2022 02:39:53 +0900
parents 70e90ea4b870
children 12287b32fbda
line wrap: on
line diff
--- a/app/views/tweets/_tweet.html.erb	Sat Aug 21 20:46:52 2021 +0900
+++ b/app/views/tweets/_tweet.html.erb	Sat Jan 15 02:39:53 2022 +0900
@@ -9,7 +9,7 @@
 <% else%>
   <% if defined?(with_time) && with_time %>
     <p>
-      <small>Originally tweeted at <%= tweet.created_at.to_s :rfc822 %></small>
+      <small>Originally tweeted at <%= tweet.created_at.rfc822 %></small>
     </p>
   <% end %>