Explorar o código

Add time to #emacs elfeed timestamp

Colin Powell %!s(int64=5) %!d(string=hai) anos
pai
achega
4f7c761a77
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      emacs/.config/doom/config.org

+ 3 - 0
emacs/.config/doom/config.org

@@ -149,6 +149,9 @@ Right now, just make sure I can connect to my local Mopidy server via MPDel.
 #+END_SRC
 ** Elfeed configuration
 #+BEGIN_SRC emacs-lisp
+(defun elfeed-search-format-date (date)
+  (format-time-string "%Y-%m-%d %H:%M" (seconds-to-time date)))
+
 (run-with-timer 0 (* 30 60) 'elfeed-update)
 
 (setq httpd-host "0.0.0.0")