aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-23 19:01:08 -0700
committerFriendika <info@friendika.com>2011-08-23 19:01:08 -0700
commit6a052c35865f21a094446a462c07f2b653ce209f (patch)
tree027f42578655b2755090af770b2d185bd253e23e
parentc1acea330c7c497f85c587e5499718d170272040 (diff)
downloadvolse-hubzilla-6a052c35865f21a094446a462c07f2b653ce209f.tar.gz
volse-hubzilla-6a052c35865f21a094446a462c07f2b653ce209f.tar.bz2
volse-hubzilla-6a052c35865f21a094446a462c07f2b653ce209f.zip
correct time in photo msg
-rw-r--r--include/diaspora.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index 00bf1f910..3c86b0037 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -912,7 +912,7 @@ function diaspora_send_status($item,$owner,$contact) {
$detail['guid'] = $item['guid'];
$detail['handle'] = $myaddr;
$images[] = $detail;
- $body = str_replace($detail['str'],t('link to photo'),$body);
+ $body = str_replace($detail['str'],t('link'),$body);
}
}
@@ -974,7 +974,7 @@ function diaspora_send_images($item,$owner,$contact,$images) {
'$guid' => xmlify($r[0]['guid']),
'$handle' => xmlify($image['handle']),
'$public' => xmlify($public),
- '$created_at' => xmlify('UTC','UTC',$r[0]['created'],'Y-m-d h:i:s \U\T\C')
+ '$created_at' => xmlify(datetime_convert('UTC','UTC',$r[0]['created'],'Y-m-d h:i:s \U\T\C'))
));
logger('diaspora_send_photo: base message: ' . $msg, LOGGER_DATA);