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

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

[nongnu] elpa/datetime 8247df6a15 058/147: Pass the argument to format t


From: ELPA Syncer
Subject: [nongnu] elpa/datetime 8247df6a15 058/147: Pass the argument to format to `warn'
Date: Fri, 31 Jan 2025 07:00:02 -0500 (EST)

branch: elpa/datetime
commit 8247df6a154e2afd6d1a1dda26e1e1d129d2c8aa
Author: Wieland Hoffmann <themineo@gmail.com>
Commit: Wieland Hoffmann <WHoffman@de.ibm.com>

    Pass the argument to format to `warn'
    
    The format string expects an argument. Add one.
---
 datetime.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/datetime.el b/datetime.el
index 8788615aa9..f2f1fbead2 100644
--- a/datetime.el
+++ b/datetime.el
@@ -216,7 +216,7 @@ form:
         (or (when datetime-locale
               (if (extmap-contains-key datetime--locale-extmap datetime-locale)
                   datetime-locale
-                (warn "Locale `%S' (value of `datetime-locale' variable) is 
not known")
+                (warn "Locale `%S' (value of `datetime-locale' variable) is 
not known" datetime-locale)
                 nil))
             (let ((system-locale (or (getenv "LC_ALL") (getenv "LC_TIME") 
(getenv "LANG")))
                   as-symbol)
@@ -235,7 +235,7 @@ form:
         (or (when datetime-timezone
               (if (extmap-contains-key datetime--timezone-extmap 
datetime-timezone)
                   datetime-timezone
-                (warn "Timezone `%S' (value of `datetime-timezone' variable) 
is not known")
+                (warn "Timezone `%S' (value of `datetime-timezone' variable) 
is not known" datetime-timezone)
                 nil))
             (datetime--determine-system-timezone))
       (or timezone 'UTC))))



reply via email to

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