Add format fallback to spreadsheet parser [SCI-11891]

This commit is contained in:
Martin Artnik 2025-05-22 11:22:52 +02:00
parent 2e47b46fba
commit 2948d2355c

View file

@ -61,7 +61,12 @@ class SpreadsheetParser
"#{date_format} #{' %H:%M' if cell.value.is_a?(DateTime)}"
)
else
cell&.formatted_value
begin
cell&.formatted_value
rescue RuntimeError
# fallback to raw value without format
cell.value
end
end
end
else