Re: Date-based generic views - UTC handling

2010-02-08 Thread David De La Harpe Golden
On 07/02/10 18:28, Wayne Dyck wrote: Is there an easy way to format this date_field to my local time zone i.e. PST? I have also tried using the "date" and "time" filters within the template itself, however, those are still UTC. Any pointers would be appreciated. Well, django-timezones has a

Date-based generic views - UTC handling

2010-02-07 Thread Wayne Dyck
I have a database model in which the datetime entry of an item is stored as a DateTimeField(). This datetime is stored as UTC. In one of my views, which displays details for each entry, I am converting and formatting the UTC time to PST. I just started using generic views and for "django.views.gen