1
0
mirror of https://github.com/janeczku/calibre-web synced 2026-05-18 19:32:13 +00:00
Files
calibre-web/cps
haraldpdl ab17992ebb fix(opds): atom:updated reflects last modification, not date added
Books.atom_timestamp returned Books.timestamp (date added), which is
set at import and never changes. OPDS clients use atom:updated to
decide whether a book has changed on the server, so cover swaps,
metadata edits, and any other post-import change were invisible to
sync clients; they would keep serving the stale cover and title
until a manual refresh.

Atom RFC 4287 defines updated as "the most recent instant in time
when an entry or feed was modified", and Calibre already tracks that
field as last_modified, bumping it on every metadata and cover edit.
Switching the property to return last_modified (with a fallback to
timestamp when last_modified is NULL) aligns Calibre-Web's behaviour
with the Atom contract.

This change only affects the OPDS feed's atom:updated element. Kobo
sync uses its own last_modified comparison path, so it is unaffected.
2026-04-19 10:51:45 +02:00
..
2024-11-04 21:20:34 +01:00
2025-04-12 03:59:32 +08:00
2026-02-14 11:30:50 +01:00
2022-05-22 12:49:00 +01:00
2024-09-07 20:07:45 +02:00
2026-04-15 20:31:40 +02:00
2022-05-21 21:52:59 +01:00
2025-03-23 09:18:48 +01:00
2026-04-14 22:12:57 +02:00
2026-02-14 11:30:50 +01:00
2026-04-14 22:12:57 +02:00
2024-07-02 20:53:08 +02:00
2026-04-14 22:10:30 +02:00
2024-12-13 18:03:14 +01:00
2025-03-23 15:12:06 +01:00
2024-07-29 20:08:17 +02:00
2026-04-14 22:28:06 +02:00
2025-03-30 12:03:12 +02:00
2025-12-20 13:22:20 +01:00
2025-11-22 15:06:40 +01:00
2026-03-01 15:44:29 +01:00
2025-03-30 12:03:12 +02:00
2024-11-11 18:46:07 +01:00
2026-02-18 18:59:29 +01:00