From 1602cb1aa338e813f112313b0a39d86bed89c551 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Fri, 13 Jan 2006 14:17:37 +0000 Subject: [PATCH] (org-get-time-of-day): Fixed bug with times before 1am. --- lisp/textmodes/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))))) -- 2.39.2