Django isn't doing anything sophisticated here -- it's just printing the result of Python's datetime.now(). Do you get the same result if you start a python shell and run:
from datetime import datetime print datetime.now() If you do, the problem is at the python level, not the Django level. One possible option -- Are you using pytz, and if so, have you got an up-to-date timezone database? Yours, Russ Magee %-) On Sat, Oct 5, 2013 at 8:52 AM, Zhou Heng <[email protected]> wrote: > Please look at the image below: > > > <https://lh6.googleusercontent.com/-tZHtQKkIPI8/Uk9irPeaQXI/AAAAAAAAAAs/AL42-sQrGxE/s1600/Untitled3.png> > The time in django is one hour later than the actual time (18:43 vs > 19.43). I guess it may be because django forgot to hangle daylight savings > time adjustment. How to fix this problem (so that django can adjust DST > automatically, not manually after a few months when DST is not in effect in > EDT time zone)? Thank you! > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/250f6c5c-94db-4a3a-b0d0-0d44f008a3cd%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJxq848SBk57ptSkErudzoPoGbEzsWD%2BaPJWoh5HwmLBYqSQGw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.

