aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-30 17:33:10 -0700
committerfriendica <info@friendica.com>2013-10-30 17:33:10 -0700
commita5693df07fdf6fdf31247bfe0700d4c8096d4fbf (patch)
treecf604e95a2b10639f281a1c20fa3caa0a601bb84 /include/conversation.php
parent2035a5dd763f7524cdc1a678b0e8dbca94f270f5 (diff)
downloadvolse-hubzilla-a5693df07fdf6fdf31247bfe0700d4c8096d4fbf.tar.gz
volse-hubzilla-a5693df07fdf6fdf31247bfe0700d4c8096d4fbf.tar.bz2
volse-hubzilla-a5693df07fdf6fdf31247bfe0700d4c8096d4fbf.zip
issue #189 - show post edited time on relative date hovertip
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 831a00519..e8b41e775 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -685,6 +685,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $
'str_app' => sprintf( t(' from %s'), $item['app']),
'isotime' => datetime_convert('UTC', date_default_timezone_get(), $item['created'], 'c'),
'localtime' => datetime_convert('UTC', date_default_timezone_get(), $item['created'], 'r'),
+ 'editedtime' => (($item['edited'] != $item['created']) ? sprintf( t('last edited: %s'), datetime_convert('UTC', date_default_timezone_get(), $item['edited'], 'r')) : ''),
'location' => $location,
'indent' => '',
'owner_name' => $owner_name,