mirror of
https://github.com/mruwnik/chicken-master.git
synced 2025-06-08 21:34:43 +02:00
Fix recur till
This commit is contained in:
parent
935b6f9cd9
commit
f7de4a90df
@ -111,7 +111,7 @@
|
|||||||
(.toString rule)))
|
(.toString rule)))
|
||||||
|
|
||||||
(defn get-until [rule]
|
(defn get-until [rule]
|
||||||
(some-> rule (RecurrenceRule.) (.getUntil) (.getTimestamp) (Instant/ofEpochMilli)))
|
(some-> rule (RecurrenceRule.) (.getUntil) (.getTimestamp) (Instant/ofEpochMilli) str))
|
||||||
(defn set-until [rule until]
|
(defn set-until [rule until]
|
||||||
(let [rule (RecurrenceRule. rule)]
|
(let [rule (RecurrenceRule. rule)]
|
||||||
(.setUntil rule (to-recur-datetime until))
|
(.setUntil rule (to-recur-datetime until))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user