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

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

[nongnu] elpa/mpv 03ca4a6700 02/12: Fixes time formatting


From: ELPA Syncer
Subject: [nongnu] elpa/mpv 03ca4a6700 02/12: Fixes time formatting
Date: Mon, 1 Aug 2022 09:58:51 -0400 (EDT)

branch: elpa/mpv
commit 03ca4a6700f5ffb729a0e6f4e636e1ef5f670238
Author: efimerspan <c7607e73-ff69-4682-b04b-b7d848b872a7@simplelogin.co>
Commit: efimerspan <c7607e73-ff69-4682-b04b-b7d848b872a7@simplelogin.co>

    Fixes time formatting
---
 mpv.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mpv.el b/mpv.el
index ab18879da2..ea32728840 100644
--- a/mpv.el
+++ b/mpv.el
@@ -377,9 +377,9 @@ Additionally, it sets an indicator for the CURRENT item 
and/or marks if the item
        (format mpv-entry-format
                title
                (pcase time
-                 ((and n (pred numberp) (guard (> 3600 n)))
+                 ((and n (pred numberp) (guard (< 3600 n)))
                   (format-time-string "%T" n t))
-                 ((pred numberp)
+                 ((and n (pred numberp))
                   (format-time-string "%M:%S" n))))
      title)
    (and current mpv-current-indicator)



reply via email to

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