app/Viewers/Event/EventViewer.php
public function endTimeFormatted(Event $apiObject)
    {
        if (!$apiObject->all_day) {
            $end = new \DateTime();

            $end->setTimestamp(strtotime($apiObject->start));

            return $end->format('h:i A');
        }

        return;
    }
public function endTimeFormatted(Event $apiObject)
    {
        if (!$apiObject->all_day) {
            $end = new \DateTime();

            $end->setTimestamp(strtotime($apiObject->start));

            return $end->format('h:i A');
        }

        return;
    }
Presents the correct end time formatted for editing.

@param Event $apiObject

@return string|null