django-schedule icon indicating copy to clipboard operation
django-schedule copied to clipboard

Difference between get_occurrence() and get_occurrences()?

Open sambacore opened this issue 12 years ago • 0 comments

Pardon me if I'm missing something, but I've been trying to get an events occurrences, preferably for a given day.

When I use event.get_occurrence(date), it always returns nothing. But when I use event.get_occurrences(before_date, after_date), suddenly the occurrences on the previously attempted date show up.

Why won't this work with just one datetime object?

sambacore avatar Mar 06 '12 17:03 sambacore