I need to show date in formatted (like a short date ) in django page

后端 未结 0 1181
忘了有多久
忘了有多久 2021-02-11 00:07

I need to show date in formatted (like a short date ) in django page .

I changed in settings.py USE_L10N = False and DATE_FORMAT = \'%y-%m-%d\' DATE_FORMAT = \'Y-m-d\'<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题