[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/calendar/appt.el
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/calendar/appt.el |
Date: |
Mon, 16 May 2005 07:11:48 -0400 |
Index: emacs/lisp/calendar/appt.el
diff -c emacs/lisp/calendar/appt.el:1.58 emacs/lisp/calendar/appt.el:1.59
*** emacs/lisp/calendar/appt.el:1.58 Fri May 6 20:42:20 2005
--- emacs/lisp/calendar/appt.el Mon May 16 11:11:48 2005
***************
*** 633,643 ****
(min 0))
(string-match "[:.]\\([0-9][0-9]\\)" time2conv)
! (setq min (string-to-int
(match-string 1 time2conv)))
(string-match "[0-9]?[0-9][:.]" time2conv)
! (setq hr (string-to-int
(match-string 0 time2conv)))
;; convert the time appointment time into 24 hour time
--- 633,643 ----
(min 0))
(string-match "[:.]\\([0-9][0-9]\\)" time2conv)
! (setq min (string-to-number
(match-string 1 time2conv)))
(string-match "[0-9]?[0-9][:.]" time2conv)
! (setq hr (string-to-number
(match-string 0 time2conv)))
;; convert the time appointment time into 24 hour time