app/models/katello/host/info_provider.rb in katello-3.10.1.1 vs app/models/katello/host/info_provider.rb in katello-3.10.2

- old
+ new

@@ -26,11 +26,11 @@ content_view_info = { 'label' => host.content_view.try(:label), 'latest-version' => host.content_view.try(:latest_version), 'version' => content_version.try(:version), - 'published' => content_version.try(:created_at).try(:time), + 'published' => content_version.try(:created_at).try(:time).to_s, 'components' => content_view_components } content_view_info end @@ -41,10 +41,10 @@ components = {} content_version.try(:content_view_version_components).map do |cv| cv_label = cv.component_version.content_view.label components[cv_label] = {} components[cv_label]['version'] = cv.component_version.try(:version) - components[cv_label]['published'] = cv.component_version.try(:created_at).try(:time) + components[cv_label]['published'] = cv.component_version.try(:created_at).try(:time).to_s end components end def content_version