Skip to content Skip to sidebar Skip to footer

Django Date Format Swap

I have a problem with date format. I'm using 'Y-m-d' format. When I enter the format the next time I want to edit, swaps month and day. Reading the doc I see input_format parameter

Solution 1:

In your form your date format is %Y-%m-%d => yyyy-mm-dd which is not equal to the format you set within your date picker script!


Post a Comment for "Django Date Format Swap"