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

Hourly frequency

Open duduklein opened this issue 6 years ago • 7 comments

Is it possible to set an hourly frequency?

In the admin widget I don't see how this is possible.

duduklein avatar Oct 03 '19 14:10 duduklein

It's not possible with this library. It works with date recurrences, not time. You need to handle the timing of the events on your own.

randlet avatar Oct 03 '19 14:10 randlet

Thanks @randlet for your quick response.

What about using the models? I saw there is a "hourly" choice in the frequency choices.

duduklein avatar Oct 03 '19 16:10 duduklein

Sorry, not sure. I've never used the models, only the recurrence field/widget.

randlet avatar Oct 03 '19 16:10 randlet

Thanks, I'm gonna wait a couple of days to see if the author responds.

duduklein avatar Oct 03 '19 16:10 duduklein

I need this also...

jsoeterbroek avatar Nov 13 '19 22:11 jsoeterbroek

Linking this to #163

I agree adding a DateTime will make it more complicated, but we could just opt for a "Recurring Date with Same Time" model.

aekanshd avatar Mar 13 '20 05:03 aekanshd

This ticket may help: https://github.com/django-recurrence/django-recurrence/issues/24

It pointed me to this file: https://github.com/swmcc/django-recurrence/blob/93485a72f59f6e5bdbdefb28e355566ff527ab07/recurrence/static/recurrence/js/recurrence-widget.js

I just started playing around with it yesterday, so my testing is minimal, but I copy pasta'd that file into the recurrence-widget.js file and it seems to be working so far. Will update this if I find any other issues.

image

derpadoo avatar Mar 25 '21 14:03 derpadoo