mirror of
https://github.com/mruwnik/chicken-master.git
synced 2025-06-08 13:24:42 +02:00
Fix recur till
This commit is contained in:
parent
935b6f9cd9
commit
f7de4a90df
@ -111,7 +111,7 @@
|
||||
(.toString 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]
|
||||
(let [rule (RecurrenceRule. rule)]
|
||||
(.setUntil rule (to-recur-datetime until))
|
||||
|
Loading…
x
Reference in New Issue
Block a user