mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-23 07:13:57 +08:00
Change format of updated_at for asset to include time [SCI-9848] (#6823)
This commit is contained in:
parent
9b97e397ed
commit
230500f60b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue