aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Dominik2006-01-13 14:17:37 +0000
committerCarsten Dominik2006-01-13 14:17:37 +0000
commit1602cb1aa338e813f112313b0a39d86bed89c551 (patch)
tree60946e45740a0b0fd138a32b9542e9996f2be0d4
parent82cb4e9abea8756bfbce85ef995587602e27f13c (diff)
downloademacs-1602cb1aa338e813f112313b0a39d86bed89c551.tar.gz
emacs-1602cb1aa338e813f112313b0a39d86bed89c551.zip
(org-get-time-of-day): Fixed bug with times before 1am.
-rw-r--r--lisp/textmodes/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el
index ef8dba71f04..92854893b25 100644
--- a/lisp/textmodes/org.el
+++ b/lisp/textmodes/org.el
@@ -5786,7 +5786,7 @@ HH:MM."
5786 (string-to-number (match-string 3 s)) 5786 (string-to-number (match-string 3 s))
5787 0))) 5787 0)))
5788 (t1 (concat " " 5788 (t1 (concat " "
5789 (if (< t0 100) "0" "") 5789 (if (< t0 100) "0" "") (if (< t0 10) "0" "")
5790 (int-to-string t0)))) 5790 (int-to-string t0))))
5791 (if string (concat (substring t1 -4 -2) ":" (substring t1 -2)) t0))))) 5791 (if string (concat (substring t1 -4 -2) ":" (substring t1 -2)) t0)))))
5792 5792