]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
authorGlenn Morris <rgm@gnu.org>
Tue, 12 May 2015 06:46:40 +0000 (23:46 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 12 May 2015 06:46:40 +0000 (23:46 -0700)
lisp/play/dunnet.el

index 2f4536c0820a0efbca7cc75519932a93834b43f7..877e5dbea882832725593f80b0948bdd15fa0fb7 100644 (file)
@@ -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)