otro error que pueden producir fechas mal cargadas
This commit is contained in:
parent
a55ff02ce7
commit
ee900a5148
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class MetadataEvent < MetadataTemplate
|
|||
|
||||
begin
|
||||
Date.parse value.dig(dt, 'date')
|
||||
rescue ArgumentError
|
||||
rescue ArgumentError, TypeError
|
||||
errors << I18n.t("metadata.#{type}.date_non_parseable")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue