]> git.mxchange.org Git - friendica.git/commitdiff
get "ago" information into the mail thread view
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 27 Aug 2012 17:46:35 +0000 (19:46 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 27 Aug 2012 17:46:35 +0000 (19:46 +0200)
mod/message.php

index 57d4beb0f6b6835c11cdc857b99c7ca7f50754ce..97c65863209441b3749a4012c69cfc3e6da89dd4 100644 (file)
@@ -444,6 +444,7 @@ function message_content(&$a) {
                                'delete' => t('Delete message'),
                                'to_name' => template_escape($message['name']),
                                'date' => datetime_convert('UTC',date_default_timezone_get(),$message['created'],'D, d M Y - g:i A'),
+                                'ago' => relative_date($message['created']),
                        );
                                
                        $seen = $message['seen'];