0

I just registered for a new user account using Django Admin but it gives the time of registration wrong. It must be March 24, 2014, 11.01 a.m.but it shows as March 24, 2014, 6:01 p.m. I am in PST time-zone.

In my settings.py, I have

TIME_ZONE = 'UTC'
4

1 回答 1

1

将您的时区设置更改为:

TIME_ZONE = 'US/Pacific'
于 2014-03-24T18:33:49.170 回答