Closed jpmurray closed 6 months ago
I'd like to know if it would be possible to have a function that would return a Carbon object of the next occurence for a model ?
On a model has repetition in the database already, a $model->next_repetition() that would return the info as a Carbon object...
$model->next_repetition()
This should be added in this PR. I wrote it slightly differently than you hoped, but you should achieve the same effect.
Should be done in PR #15
I'd like to know if it would be possible to have a function that would return a Carbon object of the next occurence for a model ?
On a model has repetition in the database already, a
$model->next_repetition()
that would return the info as a Carbon object...