Explorar el Código

Modify UTC date modeline to be shorter

Lily Carpenter hace 8 años
padre
commit
1b4defed92
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      init.lisp

+ 1 - 1
init.lisp

@@ -34,7 +34,7 @@
34 34
   (declare (ignore ml))
35 35
   (string-right-trim '(#\Newline)
36 36
                      (run-shell-command
37
-                      "TZ='UTC' date''" t)))
37
+                      "date -u --rfc-3339=seconds | cut -d '+' -f 1" t)))
38 38
 
39 39
 (add-screen-mode-line-formatter #\U #'utc-time)
40 40