added comment
Some checks failed
Some checks failed
This commit is contained in:
parent
f5df3102ad
commit
1a5e19f3c1
1 changed files with 2 additions and 0 deletions
|
@ -305,6 +305,8 @@ abstract class Event extends Post {
|
|||
$activitypub_object = new Event_Object();
|
||||
$activitypub_object = $this->transform_object_properties( $activitypub_object );
|
||||
|
||||
// maybe move the following logic (till end of the function) into getter functions.
|
||||
|
||||
$published = \strtotime( $this->wp_object->post_date_gmt );
|
||||
|
||||
$activitypub_object->set_published( \gmdate( 'Y-m-d\TH:i:s\Z', $published ) );
|
||||
|
|
Loading…
Reference in a new issue