Verified Commit dd9ff7cd authored by les's avatar les
Browse files

fix #120

parent e500ad2a
......@@ -518,8 +518,9 @@ const eventController = {
}
const recurrent = e.recurrent
let cursor = dayjs()
const start_date = dayjs.unix(e.start_datetime)
const now = dayjs()
let cursor = start_date > now ? start_date : now
const duration = dayjs.unix(e.end_datetime).diff(start_date, 's')
const frequency = recurrent.frequency
const type = recurrent.type
......
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