Merge pull request #7690 from artoscinote/ma_SCI_10856

Fix time export in repository xlsx exporter [SCI-10856]
This commit is contained in:
Martin Artnik 2024-07-09 16:01:33 +02:00 committed by GitHub
commit ff89c8c137
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,7 +54,7 @@ module RepositoryXlsxExport
row_data << if cell
if cell.value_type == 'RepositoryAssetValue' && handle_file_name_func
handle_file_name_func.call(cell.value.asset)
elsif cell.value_type == 'RepositoryDateTimeValueBase'
elsif cell.value.is_a?(RepositoryDateTimeValue) || cell.value.is_a?(RepositoryDateValue)
cell.value.data
else
cell.value.export_formatted