bug fix: tm:get-time-of-day
svn: r5771
This commit is contained in:
parent
df611dbf1a
commit
c506af5c55
|
@ -293,8 +293,8 @@
|
||||||
;;
|
;;
|
||||||
|
|
||||||
(define (tm:get-time-of-day)
|
(define (tm:get-time-of-day)
|
||||||
(values (current-seconds)
|
(let* ((total-msecs (inexact->exact (floor (current-inexact-milliseconds)))))
|
||||||
(abs (remainder (current-milliseconds) 1000))))
|
(quotient/remainder total-msecs 1000)))
|
||||||
|
|
||||||
(define (tm:current-time-utc)
|
(define (tm:current-time-utc)
|
||||||
(receive (seconds ms) (tm:get-time-of-day)
|
(receive (seconds ms) (tm:get-time-of-day)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user