@any_form_field.register(forms.DateTimeField)
def datetime_field_data(field, **kwargs):
    from_date = kwargs.get('from_date', datetime(1990, 1, 1))
    to_date = kwargs.get('to_date', datetime.today())
    date_format = random.choice(field.input_formats or formats.get_format('DATETIME_INPUT_FORMATS'))
    return xunit.any_datetime(from_date=from_date, to_date=to_date).strftime(date_format)
Performs a full text search over events with given keys.
dataset/ETHPy150Open kmmbvnr/django-any/django_any/forms.py/datetime_field_data--crossover with--dataset/ETHPy150Open matrix-org/synapse/synapse/storage/search.py/SearchStore.search_msgs