aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/proced.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/proced.el b/lisp/proced.el
index b05046bfbd3..5f35fa34a07 100644
--- a/lisp/proced.el
+++ b/lisp/proced.el
@@ -1367,12 +1367,12 @@ Prefix ARG controls sort order, see `proced-sort-interactive'."
1367The return string is always 6 characters wide." 1367The return string is always 6 characters wide."
1368 (let ((d-start (decode-time start)) 1368 (let ((d-start (decode-time start))
1369 (d-current (decode-time))) 1369 (d-current (decode-time)))
1370 (cond ( ;; process started in previous years 1370 (cond (;; process started in previous years
1371 (< (nth 5 d-start) (nth 5 d-current)) 1371 (< (decoded-time-year d-start) (decoded-time-year d-current))
1372 (format-time-string " %Y" start)) 1372 (format-time-string " %Y" start))
1373 ;; process started today 1373 ;; process started today
1374 ((and (= (nth 3 d-start) (nth 3 d-current)) 1374 ((and (= (decoded-time-day d-start) (decoded-time-day d-current))
1375 (= (nth 4 d-start) (nth 4 d-current))) 1375 (= (decoded-time-month d-start) (decoded-time-month d-current)))
1376 (format-time-string " %H:%M" start)) 1376 (format-time-string " %H:%M" start))
1377 (t ;; process started this year 1377 (t ;; process started this year
1378 (format-time-string "%b %e" start))))) 1378 (format-time-string "%b %e" start)))))