mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
domain_changed revert
This commit is contained in:
parent
51394c795e
commit
d8c879e377
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ class WhoisRecord < ActiveRecord::Base
|
|||
h[:name] = domain.name
|
||||
h[:status] = domain.statuses.map { |x| status_map[x] || x }
|
||||
h[:registered] = domain.registered_at.try(:to_s, :iso8601)
|
||||
h[:domain_changed] = domain.updated_at.try(:to_s, :iso8601)
|
||||
h[:changed] = domain.updated_at.try(:to_s, :iso8601)
|
||||
h[:expire] = domain.valid_to.try(:to_date).try(:to_s)
|
||||
h[:outzone] = domain.outzone_at.try(:to_date).try(:to_s)
|
||||
h[:delete] = domain.delete_at.try(:to_date).try(:to_s)
|
||||
|
|
|
@ -6,7 +6,7 @@ name: <%= json['name'] %>
|
|||
status: <%= st %>
|
||||
<%- end -%>
|
||||
registered: <%= json['registered'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
changed: <%= json['domain_changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
changed: <%= json['changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
expire: <%= json['expire'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
outzone: <%= json['outzone'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
delete: <%= json['delete'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue