diff options
author | William Carroll <wpcarro@gmail.com> | 2021-10-07T01·25-0700 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2021-10-07T01·25-0700 |
commit | 11771201c259a96acec0c6d093e6513f96404708 (patch) | |
tree | 4a6d6a3bd3f7177866ebda637c7284a5a371efdd /emacs/.emacs.d/wpc/wpc-misc.el | |
parent | 6e02e8e3b56b85a0f2aef33843f83feed82ffc01 (diff) |
Prefer simpler datetime format for modeline
Instead of dottime...
Diffstat (limited to 'emacs/.emacs.d/wpc/wpc-misc.el')
-rw-r--r-- | emacs/.emacs.d/wpc/wpc-misc.el | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-misc.el b/emacs/.emacs.d/wpc/wpc-misc.el index 9d1ba7a54de5..574162fbfd82 100644 --- a/emacs/.emacs.d/wpc/wpc-misc.el +++ b/emacs/.emacs.d/wpc/wpc-misc.el @@ -25,19 +25,8 @@ ;; Configuration ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; I'm borrowing from the dot-time format (i.e. https://dotti.me) to encode the -;; timestamp. This displays the UTC time and an offset to show the number of -;; hours East or West of UTC my current timezone is using `current-time-zone'. -;; -;; Reminder to me: -;; LON: +00 (UTC) or +01 (BST) -;; NYC: -05 -;; SF: -07 (setq display-time-string-forms - '((format-time-string - (concat "%H·%M" - (format "%0+3d" (/ (car (current-time-zone)) 3600)) - " %a %d %b") nil t))) + '((format-time-string "%H:%M %a %b %d"))) (display-time-mode 1) ;; Remove the boilerplate in the *scratch* buffer |