         if @endDateField
             @_toDateObject @get @endDateField
         else
-            @getDateObject().add('m', 30)
+            @getDateObject().add 30, 'm'
 
     # Format a moment to the string format of the model.
     _formatMoment: (m) ->


                # Compute event.end as event.start + event.duration.
                mDateRecurrentE = mDateRecurrentS.clone()
                    .add 'seconds', mDateEventE.diff(mDateEventS, 'seconds')
                fce = generator @, mDateRecurrentS, mDateRecurrentE
                return fce


            else if diff is -23
                diff = 1

            mDateRecurrentS.add diff, 'hour'

            return mDateRecurrentS

