Skip to content

Commit

Permalink
Merge pull request #234 from internetee/fix-registration-deadline-format
Browse files Browse the repository at this point in the history
Fix registration deadline format
  • Loading branch information
vohmar authored Jun 2, 2020
2 parents c8f1b69 + c7dc648 commit 72c6033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/whois_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 72c6033

Please sign in to comment.