Fix end-dating an RRULE

- Fix date format per RRULE spec
- Modify end date to the end of the previous day's date