Merge pull request #949 from internetee/registry-948

Return UTC date in EPP poll response
This commit is contained in:
Timo Võhmar 2018-09-17 11:58:04 +03:00 committed by GitHub
commit 4bf24d8ba7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 6 deletions

View file

@ -5,7 +5,7 @@ xml.epp_head do
end
xml.tag!('msgQ', 'count' => current_user.queued_messages.count, 'id' => @message.id) do
xml.qDate @message.created_at.try(:iso8601)
xml.qDate @message.created_at.utc.xmlschema
xml.msg @message.body
end