Function: change-log-sortable-date-at
change-log-sortable-date-at is a byte-compiled function defined in
add-log.el.gz.
Signature
(change-log-sortable-date-at)
Documentation
Return date of log entry in a consistent form for sorting.
Point is assumed to be at the start of the entry.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/add-log.el.gz
(defun change-log-sortable-date-at ()
"Return date of log entry in a consistent form for sorting.
Point is assumed to be at the start of the entry."
(if (looking-at change-log-start-entry-re)
(let ((date (match-string-no-properties 0)))
(if date
(if (string-match "\\(....\\)-\\(..\\)-\\(..\\)\\s-+" date)
(concat (match-string 1 date) (match-string 2 date)
(match-string 3 date))
(ignore-errors (timezone-make-date-sortable date)))))
(error "Bad date")))