commit 3a0ca7119bd9b656fcc246d650ccdc364531dfca
parent 906b55acfeea4ec60d5b022629fe5d1d2e2ad240
Author: Natasha Kerensikova <natgh@instinctive.eu>
Date: Mon, 1 Jan 2024 16:25:11 +0000
Feed-level updated time is currected
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/iens.scm b/src/iens.scm
@@ -671,7 +671,7 @@
(define (generate-feed feed-id filename url selector title active-int)
(let* ((stmt (sql db (string-append "SELECT id,url,type,description,notes,ptime,ctime,mtime FROM entry " selector)))
(first-row (query fetch-row stmt))
- (mtime (if (null? first-row) #f (list-ref first-row 6))))
+ (mtime (if (null? first-row) #f (list-ref first-row 7))))
(cond ((not mtime)
(when config-verbose
(write-line (conc "Feed " feed-id " is empty"))))