# HG changeset patch # User nanaya # Date 1506798275 -32400 # Node ID 4b5568b4a53309c50187ae267043ba33fce41c94 # Parent faae69155f90a018a3e9aad8396122232f4e7555 Also add time for quotes diff -r faae69155f90 -r 4b5568b4a533 app/views/tweets/_tweet.html.erb --- a/app/views/tweets/_tweet.html.erb Sun Oct 01 03:55:01 2017 +0900 +++ b/app/views/tweets/_tweet.html.erb Sun Oct 01 04:04:35 2017 +0900 @@ -1,11 +1,16 @@ <% if tweet.retweeted_status.present? %>

Retweeted: -
(Originally tweeted at <%= tweet.retweeted_status.created_at.to_s :rfc822 %>)

- <%= render "tweet", :tweet => tweet.retweeted_status %> + <%= render "tweet", :tweet => tweet.retweeted_status, :with_time => true %> <% else%> + <% if defined? :with_time && with_time %> +

+ Originally tweeted at <%= tweet.created_at.to_s :rfc822 %> +

+ <% end %> +

<%# FIXME: Twitter gem doesn't support extended mode when writing this %> <%= auto_link(expand_url( @@ -37,7 +42,7 @@ <% if tweet.quoted_status.present? %>

- <%= render "tweet", :tweet => tweet.quoted_status %> + <%= render "tweet", :tweet => tweet.quoted_status, :with_time => true %>
<% end %> <% end %>