-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I need to enable only few dates in calendar and I initiate a form like this:
widgets = {
'pickup_date': DatePickerInput(
options=FlatpickrOptions(
enable=get_working_days_formated(
arrow.get(timezone.now().date()).shift(days=1),
arrow.get(timezone.now().date()).shift(days=2)
)
),
}
Not sure if this is DatePicker problem or Django's/Python's caching, but when one day passes in real date, DatePicker still uses the same dates as were compiled for the first time. Any clues what could be wrong?
Metadata
Metadata
Assignees
Labels
No labels