Compare with year for root domain check for lets encrypt

This commit is contained in:
Kyle Drake 2017-01-14 06:12:36 +00:00
parent d16e768072
commit 5178ea4e78

View file

@ -131,7 +131,7 @@ class LetsEncryptWorker
end
end
if verified_domains.empty? || (site.created_at >= 2017 && !verified_domains.include?(domain_raw))
if verified_domains.empty? || (site.created_at.year >= 2017 && !verified_domains.include?(domain_raw))
if @international_domain
puts "still waiting on IDN support, ignoring failure for now"
clean_wellknown_turds site