emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/gnugo c09c26a 304/357: [gnugo int] Use "%F" and "%T".


From: Stefan Monnier
Subject: [elpa] externals/gnugo c09c26a 304/357: [gnugo int] Use "%F" and "%T".
Date: Sun, 29 Nov 2020 14:51:44 -0500 (EST)

branch: externals/gnugo
commit c09c26a9d490012e62219fde1ff54c375b103cf8
Author: Thien-Thi Nguyen <ttn@gnu.org>
Commit: Thien-Thi Nguyen <ttn@gnu.org>

    [gnugo int] Use "%F" and "%T".
    
    * packages/gnugo/gnugo.el
    (gnugo-display-final-score, gnugo) ...here,
    in ‘format-time-string’ calls, instead of the
    more verbose "%Y-%m-%d" and "%H:%M:%S", respectively.
---
 gnugo.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnugo.el b/gnugo.el
index 1713356..71164e5 100644
--- a/gnugo.el
+++ b/gnugo.el
@@ -1907,7 +1907,7 @@ to the last move, as a comment."
         (cl-flet
             ((yep (pretty moment)
                   (push (format-time-string
-                         (concat pretty ": %Y-%m-%d %H:%M:%S %z\n")
+                         (concat pretty ": %F %T %z\n")
                          moment)
                         blurb)))
           (yep "Game start" beg)
@@ -2279,7 +2279,7 @@ See `gnugo-board-mode' for a full list of commands."
               (when (and (zerop handicap) actually)
                 (setq handicap (string-to-number (cadr actually)))))
             (r! :SZ board-size
-                :DT (format-time-string "%Y-%m-%d")
+                :DT (format-time-string "%F")
                 :RU (if (member "--chinese-rules" args)
                         "Chinese"
                       "Japanese")



reply via email to

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