2015-01-19

Django 默认值:

LANGUAGE_CODE = ‘en-us’
TIME_ZONE = ‘UTC’
DATE_FORMAT = ‘N j, Y’ (e.g. Feb. 4, 2003)

修改setting.py:

LANGUAGE_CODE = ‘zh-cn’
TIME_ZONE = ‘Asia/Shanghai’
DATE_FORMAT = ‘Y,m,d’

参考资料: