aboutsummaryrefslogtreecommitdiffstats
path: root/include/ItemObject.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-03-04 20:58:39 -0800
committerfriendica <info@friendica.com>2013-03-04 20:58:39 -0800
commit8d442e6fc1364ea351a9b781e8173c1b679b7a91 (patch)
tree39703e3d5750e13d666cabbbe3f21125284b9c40 /include/ItemObject.php
parent4cfbdfa6dbed878565bab5172efaf67c8fda0886 (diff)
downloadvolse-hubzilla-8d442e6fc1364ea351a9b781e8173c1b679b7a91.tar.gz
volse-hubzilla-8d442e6fc1364ea351a9b781e8173c1b679b7a91.tar.bz2
volse-hubzilla-8d442e6fc1364ea351a9b781e8173c1b679b7a91.zip
fix timeago (again), webfinger new spec implemented, some theme work
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r--include/ItemObject.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index 94afaaac4..66af01a81 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -215,6 +215,7 @@ class Item extends BaseObject {
'osparkle' => $osparkle,
'sparkle' => $sparkle,
'title' => $item['title'],
+ 'isotime' => datetime_convert('UTC', date_default_timezone_get(), $item['created'], 'c'),
'localtime' => datetime_convert('UTC', date_default_timezone_get(), $item['created'], 'r'),
'ago' => (($item['app']) ? sprintf( t('%s from %s'),relative_date($item['created']),$item['app']) : relative_date($item['created'])),
'lock' => $lock,