From 37066b02b51f7cd1bbfa4b7eb89687513ac21627 Mon Sep 17 00:00:00 2001 From: Spencer Williams Date: Wed, 16 Jul 2025 16:23:29 -0400 Subject: Add option to ignore same day modification date --- lisp/seam-export.el | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/lisp/seam-export.el b/lisp/seam-export.el index 8664b53..fa5a2ee 100644 --- a/lisp/seam-export.el +++ b/lisp/seam-export.el @@ -31,6 +31,7 @@ (require 'mustache) (require 'ox-ascii) (require 'ox-org) +(require 'time-date) (require 'seam-html) (defvar seam-export--types nil) @@ -42,6 +43,7 @@ (defvar seam-export--time-format nil) (defvar seam-export--time-format-dt nil) (defvar seam-export--time-zone nil) +(defvar seam-export--ignore-same-day-modifications nil) (defvar seam-export--internal-link-class nil) (defvar seam-export--options nil) @@ -110,6 +112,12 @@ properties: Time zone used for template time strings. Defaults to the value of `seam-export-time-zone'. + `:ignore-same-day-modifications' + + Whether the `modified?' template variable should be false if + creation and modification date are on the same day. Defaults + to the value of `seam-export-ignore-same-day-modifications'. + `:internal-link-class' CSS class name for internal links. Defaults to the value of @@ -231,6 +239,10 @@ the datetime attribute of