Closed ktotok closed 4 years ago
We don't use a specific date format. Please, read django docs.
@ktotok were you able to change the format to mm-dd-YYYY ? - We're also having similar case and trying to override the format to show mm-dd-YYYY. Please let me know if you were able to update that
settings.py
USE_L10N = False
DATE_INPUT_FORMATS = ['%m-%d-%Y']
Result
Is there a way to change date format in filter? By default I have YYYY-mm-dd i'd like to change it to mm-dd-YYYY