Change format of updated_at for asset to include time [SCI-9848] (#6823)

This commit is contained in:
ivanscinote 2023-12-14 16:07:15 +01:00 committed by GitHub
parent 9b97e397ed
commit 230500f60b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ class AssetSerializer < ActiveModel::Serializer
end
def updated_at_formatted
I18n.l(object.updated_at, format: :full_date) if object.updated_at
I18n.l(object.updated_at, format: :full_with_comma) if object.updated_at
end
def parent_type