emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 3903564: * lisp/play/dunnet.el (dun-dos-boot-msg):


From: Glenn Morris
Subject: [Emacs-diffs] master 3903564: * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
Date: Tue, 12 May 2015 06:46:53 +0000

branch: master
commit 3903564ed39bd853bc3aaf61457594dfa285f743
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time.  (Bug#20554)
---
 lisp/play/dunnet.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/play/dunnet.el b/lisp/play/dunnet.el
index 2f4536c..877e5db 100644
--- a/lisp/play/dunnet.el
+++ b/lisp/play/dunnet.el
@@ -3099,7 +3099,7 @@ File not found")))
 (defun dun-dos-boot-msg ()
   (sleep-for 3)
   (dun-mprinc "Current time is ")
-  (dun-mprincl (substring (current-time-string) 12 20))
+  (dun-mprincl (format-time-string "%H:%M:%S"))
   (dun-mprinc "Enter new time: ")
   (dun-read-line)
   (if (not dun-batch-mode)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]