Python中month和day的设置

setting.py中


LANGUAGE_CODE = 'en-us'

TIME_ZONE = 'UTC'

USE_I18N = True

USE_L10N = True

USE_TZ = False          #false后才能用__month

  

posted @ 2019-07-11 13:48  HelloBaby!  阅读(868)  评论(0编辑  收藏  举报