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)
|
||||
(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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user