Created
July 29, 2015 07:46
-
-
Save zenxds/5b805e5a89d8b8125407 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# django中 timezone.now()使用的还是utc的时间,而非TIME_ZONE设置的时区的时间 | |
timezone.localtime(timezone.now()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment