- } elseif (!empty($_REQUEST['scheduled_at'])) {
- $scheduled_at = DateTimeFormat::convert($_REQUEST['scheduled_at'], 'UTC', $a->getTimezone());
+ }
+
+ Hook::callAll('post_local',$datarray);
+
+ if (!empty($_REQUEST['scheduled_at'])) {
+ $scheduled_at = DateTimeFormat::convert($_REQUEST['scheduled_at'], 'UTC', $a->getTimeZone());