aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.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 /include/widgets.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 'include/widgets.php')
-rw-r--r--include/widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 3e6fdb04c..0f61a04a0 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -642,7 +642,7 @@ function widget_conversations($arr) {
'subject' => (($rr['seen']) ? $rr['title'] : '<strong>' . $rr['title'] . '</strong>'),
'delete' => t('Delete conversation'),
'body' => $rr['body'],
- 'date' => datetime_convert('UTC',date_default_timezone_get(),$rr['created'], t('D, d M Y - g:i A')),
+ 'date' => datetime_convert('UTC',date_default_timezone_get(),$rr['created'], 'c'),
'seen' => $rr['seen'],
'selected' => ((argv(2)) ? (argv(2) == $rr['id']) : ($r[0]['id'] == $rr['id']))
);