Bug fix for timeclock.el

This commit is contained in:
John Wiegley 2000-10-13 09:35:36 +00:00
parent 4473cdd9af
commit 16908a3f0d
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2000-10-13 John Wiegley <johnw@gnu.org>
* calendar/timeclock.el (timeclock-find-discrep): A fix to same
faulty math, where holiday hours were being computing as seconds.
2000-10-13 John Wiegley <johnw@gnu.org>
* desktop.el (desktop-buffer-modes-to-save): Added a global for

View file

@ -679,7 +679,7 @@ identical to what would be return if `timeclock-relative' were nil."
(setq last-date-limited
(timeclock-time-to-date (cadr event))
last-date-seconds
(string-to-number (nth 2 event))))
(* (string-to-number (nth 2 event)) 3600)))
((equal (car event) "i")
(when (and (nth 2 event)
(> (length (nth 2 event)) 0))