Couple of minor fixes (#13185)

This commit is contained in:
hius07 authored and GitHub committed 2025-02-01 21:25:51 +02:00
1 parent 763264a102
commit 8606b132e4
5 files changed
+25 -26

No files matched your search

@@ -420,7 +420,9 @@ function ReaderAnnotation:addItem(item)
end
function ReaderAnnotation:onAnnotationsModified(items)
items[1].datetime_updated = os.date("%Y-%m-%d %H:%M:%S")
if items.update_datetime ~= false then
items[1].datetime_updated = os.date("%Y-%m-%d %H:%M:%S")
end
end
-- info