Reputation: 748
I am trying to modify settings.py to change the display to 12 hour time using TIME_INPUT_FORMATS
however it displays it incorrectly when i apply %P
.
Upvotes: 0
Views: 310
Reputation: 522
You want %I
.
Check out the Django settings docs which reference the Python datetime docs
Upvotes: 1