my-emacs-d/zim.el

7 lines
156 B
EmacsLisp

(defun insert-zim-timestamp ()
(interactive)
(insert (format-time-string "%Y-%m-%dT%H:%M:%S%z"))
(forward-char -2)
(insert ":")
(forward-char 2))