From 9c0da894b9e69c8cb216585c5de1361be2e51812 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 7 Aug 2022 13:16:53 +0200 Subject: [PATCH] ; Improve time-convert call in recently changed test * test/lisp/eshell/em-pred-tests.el (eshell-parse-file-name-attributes): Use t instead of nil as second argument to 'time-convert'. Suggested by Stefan Monnier . --- test/lisp/eshell/em-pred-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lisp/eshell/em-pred-tests.el b/test/lisp/eshell/em-pred-tests.el index ef31a5d1473..0d6351ec826 100644 --- a/test/lisp/eshell/em-pred-tests.el +++ b/test/lisp/eshell/em-pred-tests.el @@ -75,7 +75,7 @@ The following attributes are recognized: (`(,(and (or "links" "uid" "gid" "size") key) ,value) (cons (intern key) (string-to-number value))) (`(,(and (or "atime" "mtime" "ctime") key) ,value) - (cons (intern key) (time-convert (string-to-number value) nil))) + (cons (intern key) (time-convert (string-to-number value) t))) (`(,key ,value) (cons (intern key) value)) (_ (error "invalid format %S" i)))) -- 2.39.2