Re: how to use timezones for datetime fields that are foreign keys in admin interface

2012-09-21 Thread Aymeric Augustin
Le lundi 3 septembre 2012 02:48:24 UTC+2, dalupus a écrit : > > On the item list screen however the datetime is not formated and seems > to be in utc format like so: > 2012-09-03 00:28:21.664176+00:00 > so it appears it is not adjusting to display the field in the users > timezone. > > Any ide

Re: how to use timezones for datetime fields that are foreign keys in admin interface

2012-09-08 Thread Melvyn Sopacua
On 3-9-2012 2:47, dalupus wrote: > datetime = models.DateTimeField(auto_now_add=True) > def __unicode__(self): > return unicode(self.datetime) > On the item list screen however the datetime is not formated and seems > to be in utc format The list display uses the unicode represen