about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/wpc-misc.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/wpc/wpc-misc.el')
-rw-r--r--emacs/.emacs.d/wpc/wpc-misc.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-misc.el b/emacs/.emacs.d/wpc/wpc-misc.el
index de90a751c4ea..3ac46de7f9d8 100644
--- a/emacs/.emacs.d/wpc/wpc-misc.el
+++ b/emacs/.emacs.d/wpc/wpc-misc.el
@@ -33,10 +33,11 @@
 ;; LON: +00 (UTC) or +01 (BST)
 ;; NYC: -05
 ;; SF:  -07
-(setq display-time-format
-      (concat "%H·%M"
-              (format "%0+3d" (/ (car (current-time-zone)) 3600))
-              " %a %d %b"))
+(setq display-time-string-forms
+      '((format-time-string
+         (concat "%H·%M"
+                 (format "%0+3d" (/ (car (current-time-zone)) 3600))
+                 " %a %d %b") nil t)))
 (display-time-mode 1)
 
 ;; Remove the boilerplate in the *scratch* buffer