瀏覽代碼

Add time to #emacs elfeed timestamp

Colin Powell 5 年之前
父節點
當前提交
4f7c761a77
共有 1 個文件被更改,包括 3 次插入0 次删除
  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")