summaryrefslogtreecommitdiff
path: root/lisp/epa-ks.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2022-08-05 18:46:31 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2022-08-05 18:46:31 -0400
commitb70369c557efed3dcd86dc64a2e73e3480dea6af (patch)
tree9b705cd5810e902afffccccfc3aee65bc8bb1963 /lisp/epa-ks.el
parent32c603e9e557aa8bc448bd0b3af493a9244d1aae (diff)
downloademacs-b70369c557efed3dcd86dc64a2e73e3480dea6af.tar.gz
emacs-b70369c557efed3dcd86dc64a2e73e3480dea6af.tar.bz2
emacs-b70369c557efed3dcd86dc64a2e73e3480dea6af.zip
time-convert): Deprecate calls without an explicit FORM arg
* lisp/subr.el (time-convert): Deprecate calls without an explicit FORM arg. * doc/lispref/os.texi (Time Conversion): Adjust doc accordingly. * lisp/calendar/time-date.el (days-to-time): * lisp/emacs-lisp/timer.el (timer-next-integral-multiple-of-time): * lisp/gnus/nnrss.el (nnrss-normalize-date): * lisp/epa-ks.el (epa-ks--parse-buffer): Silence corresponding warnings.
Diffstat (limited to 'lisp/epa-ks.el')
-rw-r--r--lisp/epa-ks.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/epa-ks.el b/lisp/epa-ks.el
index f41429f7734..7c60b659f0a 100644
--- a/lisp/epa-ks.el
+++ b/lisp/epa-ks.el
@@ -295,13 +295,11 @@ enough, since keyservers have strict timeout settings."
:created
(and (match-string 4)
(not (string-empty-p (match-string 4)))
- (time-convert
- (string-to-number (match-string 4))))
+ (time-convert (string-to-number (match-string 4)) t))
:expires
(and (match-string 5)
(not (string-empty-p (match-string 5)))
- (time-convert
- (string-to-number (match-string 5))))
+ (time-convert (string-to-number (match-string 5)) t))
:flags
(mapcar (lambda (flag)
(cdr (assq flag '((?r revoked)