mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-18 13:28:48 +08:00
Fix time export in repository xlsx exporter [SCI-10856]
This commit is contained in:
parent
84f47db907
commit
6ad15211ac
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue