changeset 68175:85897d09e200

(org-get-time-of-day): Fixed bug with times before 1am.
author Carsten Dominik <dominik@science.uva.nl>
date Fri, 13 Jan 2006 14:17:37 +0000
parents dceda15bdee3
children e1cf406d3fa7
files lisp/textmodes/org.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/org.el	Fri Jan 13 11:31:10 2006 +0000
+++ b/lisp/textmodes/org.el	Fri Jan 13 14:17:37 2006 +0000
@@ -5786,7 +5786,7 @@
 		       (string-to-number (match-string 3 s))
 		     0)))
 	    (t1 (concat " "
-			(if (< t0 100) "0" "")
+			(if (< t0 100) "0" "") (if (< t0 10) "0" "")
 			(int-to-string t0))))
        (if string (concat (substring t1 -4 -2) ":" (substring t1 -2)) t0)))))