X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fitem.php;h=bfb865b790553d3ee293acfc40f117a4beba0652;hb=3972fe62fe8afb3791e9d6526e7665501a577b81;hp=f40f6ad45d30fb37f3851f55b8bbf7bed8ac8d10;hpb=865006682a3952565035207898b80dfbd6d390b1;p=friendica.git diff --git a/mod/item.php b/mod/item.php index f40f6ad45d..bfb865b790 100644 --- a/mod/item.php +++ b/mod/item.php @@ -686,7 +686,7 @@ function item_post(App $a) { Hook::callAll('post_local',$datarray); if (!empty($_REQUEST['scheduled_at'])) { - $scheduled_at = DateTimeFormat::convert($_REQUEST['scheduled_at'], 'UTC', $a->getTimezone()); + $scheduled_at = DateTimeFormat::convert($_REQUEST['scheduled_at'], 'UTC', $a->getTimeZone()); if ($scheduled_at > DateTimeFormat::utcNow()) { unset($datarray['created']); unset($datarray['edited']);