Commit 5777162a authored by Paul Eggert's avatar Paul Eggert
Browse files

* calendar/timeclock.el (timeclock-seconds-to-time):

Defalias to seconds-to-time, since they're the same thing.
parent 35837f51
2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
* calendar/timeclock.el (timeclock-seconds-to-time):
Defalias to seconds-to-time, since they're the same thing.
* allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
......
......@@ -545,11 +545,7 @@ non-nil, the amount returned will be relative to past time worked."
(defalias 'timeclock-time-to-seconds (if (fboundp 'float-time) 'float-time
'time-to-seconds))
(defsubst timeclock-seconds-to-time (seconds)
"Convert SECONDS (a floating point number) to an Emacs time structure."
(list (floor seconds 65536)
(floor (mod seconds 65536))
(floor (* (- seconds (ffloor seconds)) 1000000))))
(defalias 'timeclock-seconds-to-time 'seconds-to-time)
;; Should today-only be removed in favour of timeclock-relative? - gm
(defsubst timeclock-when-to-leave (&optional today-only)
......
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