protected function getModifiedDate($object)
    {
        if (! isset($object->modified)) {
            return date('Y-m-d h:i:s');
        }

        return $object->modified === '0000-00-00 00:00:00'
            ? date('Y-m-d h:i:s')
            : $object->modified;
    }