aboutsummaryrefslogtreecommitdiffstats
path: root/mod/mail.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-11-03 11:19:22 +0100
committerMario Vavti <mario@mariovavti.com>2015-11-03 11:19:22 +0100
commit43d80901825b95d881d4e072a9bd0898b0b8ab16 (patch)
tree10db0177f99292b695bc07ee92123ba79febd6db /mod/mail.php
parentd13dae6b060ad1147426ae88791cac5970ab3b03 (diff)
downloadvolse-hubzilla-43d80901825b95d881d4e072a9bd0898b0b8ab16.tar.gz
volse-hubzilla-43d80901825b95d881d4e072a9bd0898b0b8ab16.tar.bz2
volse-hubzilla-43d80901825b95d881d4e072a9bd0898b0b8ab16.zip
timeago() works best with iso format. fix #118
Diffstat (limited to 'mod/mail.php')
-rw-r--r--mod/mail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/mail.php b/mod/mail.php
index 884c41565..536149a28 100644
--- a/mod/mail.php
+++ b/mod/mail.php
@@ -335,7 +335,7 @@ function mail_content(&$a) {
'recall' => t('Recall message'),
'can_recall' => (($channel['channel_hash'] == $message['from_xchan']) ? true : false),
'is_recalled' => (intval($message['mail_recalled']) ? t('Message has been recalled.') : ''),
- 'date' => datetime_convert('UTC',date_default_timezone_get(),$message['created'],'D, d M Y - g:i A'),
+ 'date' => datetime_convert('UTC',date_default_timezone_get(),$message['created'], 'c'),
);
$seen = $message['seen'];