aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authorHolger Dürer <me@hdurer.net>2017-04-27 18:35:32 +0100
committerJohnson Denen <johnson.denen@gmail.com>2017-04-28 11:15:56 -0400
commit4057f8d7577308fd79afa9c4d1823faf9c088665 (patch)
treec73944f9215f7940ff5f89991d14a42e26a3bc87 /lisp/mastodon.el
parentc7a000355809bbe0496c3fb54ac70d75e3ef65b8 (diff)
Add the time of posting to the byline.
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 2926d08..7fb5c9a 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -51,6 +51,15 @@
:group 'mastodon
:type 'file)
+(defcustom mastodon-toot-timestamp-format "%F %T"
+ "Format to use for timestamps.
+
+For valid formatting options see `format-time-string`.
+The default value \"%F %T\" prints ISO8601-style YYYY-mm-dd HH:MM:SS.
+Use. e.g. \"%c\" for your locale's date and time format."
+ :group 'mastodon
+ :type 'string)
+
(defvar mastodon-mode-map
(make-sparse-keymap)
"Keymap for `mastodon-mode'.")