about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/scadere/listen.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scadere/listen.py b/src/scadere/listen.py
index 05fa199..3c44407 100644
--- a/src/scadere/listen.py
+++ b/src/scadere/listen.py
@@ -119,6 +119,7 @@ def entry(base_url, cert):
              if not_before is None
              else f'TLS cert for {hostname} will expire at {not_after}')
     author = 'Scadere' if not_before is None else string
+    updated = not_after if not_before is None else not_before
     return ('entry',
             ('author', ('name', author)),
             ('content', {'type': 'xhtml'},
@@ -128,7 +129,7 @@ def entry(base_url, cert):
                       'type': 'application/xhtml+xml',
                       'href': url}),
             ('title', title),
-            ('updated', not_after))
+            ('updated', updated))
 
 
 def split_domain(domain):