From 11771201c259a96acec0c6d093e6513f96404708 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Wed, 6 Oct 2021 18:25:00 -0700 Subject: Prefer simpler datetime format for modeline Instead of dottime... --- emacs/.emacs.d/wpc/wpc-misc.el | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'emacs/.emacs.d/wpc/wpc-misc.el') 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 -- cgit 1.4.1