changeset 32449:0abae260f337

Bug fix for timeclock.el
author John Wiegley <johnw@newartisans.com>
date Fri, 13 Oct 2000 09:35:36 +0000
parents 4925b241a9ac
children 99899af1ec94
files lisp/ChangeLog lisp/calendar/timeclock.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Oct 13 09:34:13 2000 +0000
+++ b/lisp/ChangeLog	Fri Oct 13 09:35:36 2000 +0000
@@ -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
--- a/lisp/calendar/timeclock.el	Fri Oct 13 09:34:13 2000 +0000
+++ b/lisp/calendar/timeclock.el	Fri Oct 13 09:35:36 2000 +0000
@@ -679,7 +679,7 @@
 		 (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))