From: Carsten Dominik Date: Fri, 13 Jan 2006 14:17:37 +0000 (+0000) Subject: (org-get-time-of-day): Fixed bug with times before 1am. X-Git-Tag: emacs-pretest-22.0.90~4764 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1602cb1aa338e813f112313b0a39d86bed89c551;p=emacs.git (org-get-time-of-day): Fixed bug with times before 1am. --- 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." (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)))))