Let the API return times in UTC for now
This commit is contained in:
parent
3fc462fb89
commit
2f2f1e1321
6 changed files with 36 additions and 8 deletions
|
@ -4,4 +4,8 @@ class PieceJustificativeSerializer < ActiveModel::Serializer
|
|||
:content_url
|
||||
|
||||
has_one :user
|
||||
|
||||
def created_at
|
||||
object.created_at&.in_time_zone('UTC')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue