def value_to_db_date(self, value):
        if value is None:
            return None
        return datetime_safe.new_date(value).strftime('%Y-%m-%d')
Raises a Python UserWarning if `value` is not None.
dataset/ETHPy150Open dcramer/django-compositepks/django/db/backends/__init__.py/BaseDatabaseOperations.value_to_db_date--crossover with--dataset/ETHPy150Open STIXProject/python-stix/stix/utils/deprecated.py/deprecated