     #
     # @see https://tools.ietf.org/html/rfc5545#section-3.3.9
     isSameDay: ->
-        endDate = if @isAllDay() then @getEndDateObject().add -1, 'd' else
+        endDate = if @isAllDay() then @getEndDateObject().add -1, 'd' else \
                                       @getEndDateObject()
         endDate.isSame @getStartDateObject(), 'day'
 

                return true

            else if method is 'delete'
                 return guest.status in ['ACCEPTED', 'NEEDS-ACTION']

            else if method in ['update', 'patch']
                return guest.status is 'INVITATION-NOT-SENT' or (

            return callback false

        # Kind of changes which doesn't need mails.
        if method in ['update', 'patch'] and
           not ( @startDateChanged or @attendeesChanged)
            return callback false

        # else: look state of each guest.
