diff options
author | Friendika <info@friendika.com> | 2011-08-29 18:01:59 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-29 18:01:59 -0700 |
commit | 454882812e8c4a56962aef1d69abc36ca8993286 (patch) | |
tree | fb8a8b9e2d69a659a7d61b0fd8af709103404b74 | |
parent | 7e79b140f038732b340fed70a1d88bdf2b950189 (diff) | |
download | volse-hubzilla-454882812e8c4a56962aef1d69abc36ca8993286.tar.gz volse-hubzilla-454882812e8c4a56962aef1d69abc36ca8993286.tar.bz2 volse-hubzilla-454882812e8c4a56962aef1d69abc36ca8993286.zip |
wrong time format string, 24hr clock
-rw-r--r-- | include/diaspora.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/diaspora.php b/include/diaspora.php index 5e751f4ba..f14abc053 100644 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -915,7 +915,7 @@ function diaspora_send_status($item,$owner,$contact) { $public = (($item['private']) ? 'false' : 'true'); require_once('include/datetime.php'); - $created = datetime_convert('UTC','UTC',$item['created'],'Y-m-d h:i:s \U\T\C'); + $created = datetime_convert('UTC','UTC',$item['created'],'Y-m-d H:i:s \U\T\C'); $tpl = get_markup_template('diaspora_post.tpl'); $msg = replace_macros($tpl, array( @@ -967,7 +967,7 @@ function diaspora_send_images($item,$owner,$contact,$images) { '$guid' => xmlify($r[0]['guid']), '$handle' => xmlify($image['handle']), '$public' => xmlify($public), - '$created_at' => xmlify(datetime_convert('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')) )); |