From: Eshel Yaron Date: Sun, 9 Apr 2023 21:06:23 +0000 (+0300) Subject: Enhance ChangeLog format X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bd1f42f5912b4306055c1e23c4ecad5b29d0d7ec;p=esy-publish.git Enhance ChangeLog format --- diff --git a/publish.el b/publish.el index 3005686..45151be 100644 --- a/publish.el +++ b/publish.el @@ -187,6 +187,7 @@ (org-export-with-toc nil) (org-export-with-smart-quotes t) (org-html-htmlize-output-type 'css) + (org-time-stamp-formats '("%Y-%m-%d" . "%Y-%m-%d %H:%M")) (org-publish-project-alist (list '("all" :components ("assets" "org")) (list "assets" diff --git a/src/changelog.org b/src/changelog.org index ec08bd4..40405b4 100644 --- a/src/changelog.org +++ b/src/changelog.org @@ -2,11 +2,8 @@ #+AUTHOR: Eshel Yaron #+DESCRIPTION: change log for eshelyaron.com #+KEYWORDS: changelog,git,emacs,org mode +#+OPTIONS: \n:t -#+begin_src shell :results raw :wrap src diff :exports both - git log -p --pretty=format:"%s%n(Commit %h at %cs)%n" --since=2023-04-08 -- ../publish.el . -#+end_src - -#+RESULTS: -#+begin_src diff +#+begin_src shell :results raw :exports both + git log --name-status --pretty=format:"* %s%n%nCommit %h at [%cs] changed these files:%n" --since=2023-04-09 #+end_src