mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
Use decoded-time accessors in vc-cvs
* lisp/vc/vc-cvs.el (vc-cvs-parse-entry): Use decoded-time accessors for results from `parse-time-string'.
This commit is contained in:
parent
3001c6eaa8
commit
70a2f2b09a
@ -1180,7 +1180,7 @@ is non-nil."
|
||||
(parsed-time (progn (require 'parse-time)
|
||||
(parse-time-string (concat time " +0000")))))
|
||||
(cond ((and (not (string-match "\\+" time))
|
||||
(car parsed-time)
|
||||
(decoded-time-second parsed-time)
|
||||
;; Compare just the seconds part of the file time,
|
||||
;; since CVS file time stamp resolution is just 1 second.
|
||||
(= (encode-time mtime 'integer)
|
||||
|
Loading…
Reference in New Issue
Block a user