@rschedule/moment-tz-date-adapter
Advanced tools
Changelog
0.10.0 BREAKING (2019/4/15)
VEvent
to allow multiple rrules / exrules as per the ical spec.
ical-tools
serializeToICal()
and
parseICal()
functions.Dates
to not change the timezone associated with Dates#adapters
.
This means that a date in Dates#adapters
may not have the same timezone as Dates#timezone
(dates yielded by Dates
are still updated to have the same timezone as Dates#timezone
, however).
This distinction can be important when serializing a Dates
object as it ensures the original
timezones associated with the underlying dates are preserved.Rule#options
via Rule#set()
.Rule
and Dates
objects to the VEvent
constructor.VEvent#set()
, VEvent#add()
, and VEvent#remove()
.Changelog
0.9.0 BREAKING (2019/4/14)
DateTime
objects are used for datetime manipulation. This appears to have eliminated all outstanding recurrence bugs.MomentTZDateAdapter
into its own package.json-tools
to work with new API.ical-tools
to work with new API.
VEvent
object which aligns to the VEVENT
component in the ICalendar spec.ical-tools
dependency on lodash.clonedeep
.EXRule
, RRule
, EXDate
, and RDate
objects. Now there are just Dates
and Rule
objects.until
rule option to end
.undefined
to null
.duration
support.add()
, remove()
, and set()
CRUD methods to Schedule
and Dates
.filter()
method to Dates
which filters the Dates
object's associated dates and returns a new Dates
object.