diff --git a/app/models/whois_record.rb b/app/models/whois_record.rb index d6b61d81..2ce6427c 100644 --- a/app/models/whois_record.rb +++ b/app/models/whois_record.rb @@ -48,7 +48,7 @@ def deserialize_domain expire: json['expire'], outzone: json['outzone'], delete: json['delete'], - registration_deadline: json['registration_deadline']) + registration_deadline: json['registration_deadline'].try(:to_s, :iso8601)) end # rubocop:enable Metrics/AbcSize