Commit 1602cb1a authored by Carsten Dominik's avatar Carsten Dominik
Browse files

(org-get-time-of-day): Fixed bug with times before 1am.

parent 82cb4e9a
......@@ -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)))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment