Re: Setting tzinfo for DateTimeFields with Postgresql - workaround

2009-09-28 Thread George Song
Sounds about right to me. Hopefully I'll have more time after this month to pick this up again. On Aug 16, 6:24 pm, Ramiro Morales wrote: > Hi George, > > On Thu, May 21, 2009 at 7:56 PM, George Song wrote: > > > Hi Glenn, > > > When you get the chance can

Re: Setting tzinfo for DateTimeFields with Postgresql - workaround

2009-08-16 Thread Ramiro Morales
Hi George, On Thu, May 21, 2009 at 7:56 PM, George Song wrote: > > Hi Glenn, > > When you get the chance can you review my proposal[1] for fixing > DateTimeField in Django? > > I'm going to try to get this in for 1.2 release. > > [1] http://code.djangoproject.com/ticket/10587

Re: Setting tzinfo for DateTimeFields with Postgresql - workaround

2009-05-21 Thread George Song
On 5/16/2009 10:28 PM, Glenn Maynard wrote: > This is just a quick hack for anyone else bit by this: tzinfo is never > set when reading DateTimeFields out of the database, at least with > Postgresql. > > Now, I have no idea why anyone would want to set TIME_ZONE to anything > but UTC (and the

Setting tzinfo for DateTimeFields with Postgresql - workaround

2009-05-16 Thread Glenn Maynard
This is just a quick hack for anyone else bit by this: tzinfo is never set when reading DateTimeFields out of the database, at least with Postgresql. Now, I have no idea why anyone would want to set TIME_ZONE to anything but UTC (and the default of an arbitrary US timezone is rather bizarre), but