diff --git a/includes/transformer/class-comment.php b/includes/transformer/class-comment.php index 224b177..858d58b 100644 --- a/includes/transformer/class-comment.php +++ b/includes/transformer/class-comment.php @@ -75,7 +75,7 @@ class Comment { $updated = \get_comment_meta( $wp_comment->comment_ID, 'ap_last_modified', true ); if ( $updated > $published ) { - $object->set_updated( \gmdate( 'Y-m-d\TH:i:s\Z', $updated ) ); + $object->set_updated( \gmdate( 'Y-m-d\TH:i:s\Z', \strtotime( $updated ) ) ); } $object->set_attributed_to( $this->get_attributed_to() );