# HG changeset patch # User Kim Alvefur # Date 1456681631 -3600 # Node ID 193e4c65d218b7cd8891a621ee61f78576e4d6b6 # Parent 167dbd29fbebdac9f8e5778001e14a3c85cc2585 prosodyctl: One month is 31 days, no 13 (thanks av6) diff -r 167dbd29fbeb -r 193e4c65d218 prosodyctl --- a/prosodyctl Sun Feb 28 18:45:27 2016 +0100 +++ b/prosodyctl Sun Feb 28 18:47:11 2016 +0100 @@ -1248,7 +1248,7 @@ cert_ok = false elseif not cert:validat(os.time() + 86400*7) then print(" Certificate expires within one week.") - elseif not cert:validat(os.time() + 86400*13) then + elseif not cert:validat(os.time() + 86400*31) then print(" Certificate expires within one month.") end if config.get(host, "component_module") == nil