Commit 70569550 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(archive-dostime): Fix a typo in minutes' computation.

parent a56ebb90
2001-09-07 Eli Zaretskii <eliz@is.elta.co.il>
* arc-mode.el (archive-dostime): Fix a typo in minutes'
computation.
2001-09-07 Gerd Moellmann <gerd@gnu.org>
* server.el (server-switch-buffer): Use get-window-with-predicate.
......
......@@ -447,7 +447,7 @@ the mode is invalid. If ERROR is nil then nil will be returned."
(defun archive-dostime (time)
"Stringify dos packed TIME record."
(let ((hour (logand (ash time -11) 31))
(minute (logand (ash time -5) 53))
(minute (logand (ash time -5) 63))
(second (* 2 (logand time 31)))) ; 2 seconds resolution
(format "%02d:%02d:%02d" hour minute second)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment