org.el (org-get-wdays): Handle matching a lead time specified in hours
* org.el (org-get-wdays): Handle matching a lead time specified in hours. TINYCHANGE A lead time in hours is matched but will erroneously return nil.
This commit is contained in:
parent
80cb1b0a09
commit
f27e1e8e4d
|
@ -15921,7 +15921,8 @@ Don't touch the rest."
|
|||
(floor (* (string-to-number (match-string 1 ts))
|
||||
(cdr (assoc (match-string 2 ts)
|
||||
'(("d" . 1) ("w" . 7)
|
||||
("m" . 30.4) ("y" . 365.25)))))))
|
||||
("m" . 30.4) ("y" . 365.25)
|
||||
("h" . 0.041667)))))))
|
||||
;; go for the default.
|
||||
(t org-deadline-warning-days)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue