bug fix: tm:get-time-of-day

svn: r5771
This commit is contained in:
Chongkai Zhu 2007-03-12 20:47:09 +00:00
parent df611dbf1a
commit c506af5c55

View File

@ -293,8 +293,8 @@
;;
(define (tm:get-time-of-day)
(values (current-seconds)
(abs (remainder (current-milliseconds) 1000))))
(let* ((total-msecs (inexact->exact (floor (current-inexact-milliseconds)))))
(quotient/remainder total-msecs 1000)))
(define (tm:current-time-utc)
(receive (seconds ms) (tm:get-time-of-day)