teambition / rrule-go

Go library for working with recurrence rules for calendar dates.
MIT License
316 stars 58 forks source link

Support TZID in EXDATE and RDATE rules #16

Closed egorbunov closed 6 years ago

egorbunov commented 6 years ago

As it is told in RFC5545:3.2.19, TZID parameter must be added to EXDATE/RDATE for them to specify times in a special time zone.

This PR simply adds such TZID parameter parsing to the StrToDates function.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.006%) to 99.269% when pulling bc3ad6a7b3c6e1f88df7ba982280221d9aeaff61 on egorbunov:master into 0a0d3cb0c8aa14c908e9045d56f6c32c317f7d07 on teambition:master.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.006%) to 99.269% when pulling bc3ad6a7b3c6e1f88df7ba982280221d9aeaff61 on egorbunov:master into 0a0d3cb0c8aa14c908e9045d56f6c32c317f7d07 on teambition:master.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.006%) to 99.269% when pulling bc3ad6a7b3c6e1f88df7ba982280221d9aeaff61 on egorbunov:master into 0a0d3cb0c8aa14c908e9045d56f6c32c317f7d07 on teambition:master.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.006%) to 99.269% when pulling bc3ad6a7b3c6e1f88df7ba982280221d9aeaff61 on egorbunov:master into 0a0d3cb0c8aa14c908e9045d56f6c32c317f7d07 on teambition:master.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.006%) to 99.269% when pulling bc3ad6a7b3c6e1f88df7ba982280221d9aeaff61 on egorbunov:master into 0a0d3cb0c8aa14c908e9045d56f6c32c317f7d07 on teambition:master.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.006%) to 99.269% when pulling 6a33abbe5d2f2f698746cf81b6c8e04f824be3ca on egorbunov:master into 0a0d3cb0c8aa14c908e9045d56f6c32c317f7d07 on teambition:master.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.006%) to 99.269% when pulling bc3ad6a7b3c6e1f88df7ba982280221d9aeaff61 on egorbunov:master into 0a0d3cb0c8aa14c908e9045d56f6c32c317f7d07 on teambition:master.

egorbunov commented 6 years ago

@zensh, please, review changes :) @rickywiens, mentioning you because I refactored a little of dtstart parsing (so TZID parameter is parsed in parseTZID function)