mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
whois fix updated time
This commit is contained in:
parent
f149b5fe0b
commit
9fbeeb70a2
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ class WhoisRecord < ActiveRecord::Base
|
||||||
h[:registrant] = domain.registrant.name
|
h[:registrant] = domain.registrant.name
|
||||||
h[:registrant_email] = domain.registrant.email
|
h[:registrant_email] = domain.registrant.email
|
||||||
@disclosed << [:email, domain.registrant.email]
|
@disclosed << [:email, domain.registrant.email]
|
||||||
h[:changed] = domain.registrant.updated_at.try(:to_s, :iso8601)
|
h[:registrant_changed] = domain.registrant.updated_at.try(:to_s, :iso8601)
|
||||||
|
|
||||||
h[:admin_contacts] = []
|
h[:admin_contacts] = []
|
||||||
domain.admin_contacts.each do |ac|
|
domain.admin_contacts.each do |ac|
|
||||||
|
|
|
@ -14,7 +14,7 @@ delete: <%= json['delete'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||||
Registrant:
|
Registrant:
|
||||||
name: <%= json['registrant'] %>
|
name: <%= json['registrant'] %>
|
||||||
email: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
email: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
||||||
changed: <%= json['changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
changed: <%= json['registrant_changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||||
|
|
||||||
<%- if json['admin_contacts'].present? -%>
|
<%- if json['admin_contacts'].present? -%>
|
||||||
Administrative contact:
|
Administrative contact:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue