Re: Django / Python and daylight saving time

2006-11-14 Thread SmileyChris
The problem is specifically with the development server. Add "import time" to django/conf/__init__.py and see if it fixes it for you. Please report if that solves your problem in the above mentioned ticket (http://code.djangoproject.com/ticket/2315) - if multiple people have tested and can confir

Re: Re: Django / Python and daylight saving time

2006-11-14 Thread Waylan Limberg
I believe #2315 is the ticket your looking for. It is windows specific. Be sure to read through the comments to the end. http://code.djangoproject.com/ticket/2315 On 11/14/06, James Bennett <[EMAIL PROTECTED]> wrote: > > On 11/14/06, mynameisgabe <[EMAIL PROTECTED]> wrote: > > My system clock cl

Re: Django / Python and daylight saving time

2006-11-14 Thread Jean-Luc
[EMAIL PROTECTED] a écrit : > I dont know why it would use anything other than the system time... Is > the timezone set correctly on your machine? time is a DOS command and it renders the good time, same time i can show under Windows but Django runserver renders summer time, or GMT ? Thanks a

Re: Re: Django / Python and daylight saving time

2006-11-14 Thread James Bennett
On 11/14/06, mynameisgabe <[EMAIL PROTECTED]> wrote: > My system clock claims it's on the right time. That's what I'm using > in the above example - 07:49:52 came from the clock in the windows task > bar. I remember a while back there was a spate of problems with correctly setting the time-zone

Re: Django / Python and daylight saving time

2006-11-14 Thread mynameisgabe
On Nov 14, 9:02 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Your system clock is probably wrong also. Mine works fine. My system clock claims it's on the right time. That's what I'm using in the above example - 07:49:52 came from the clock in the windows task bar. However, Django alway

Re: Django / Python and daylight saving time

2006-11-14 Thread [EMAIL PROTECTED]
Your system clock is probably wrong also. Mine works fine. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe fr

Django / Python and daylight saving time

2006-11-14 Thread Jean-Luc
It seems Django don't know daylight saving time my settings.py : ... # Local time zone for this installation. All choices can be found here: # http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE TIME_ZONE = 'Europe/Paris' ... E:\applis\budget>time L

Re: Django / Python and daylight saving time

2006-11-14 Thread [EMAIL PROTECTED]
I dont know why it would use anything other than the system time... Is the timezone set correctly on your machine? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: Django / Python and daylight saving time

2006-11-14 Thread mynameisgabe
I've noticed it always prints out GMT time for me, no matter what the value I use for TIME_ZONE. For instance, it's set to the default 'America/Chicago' right now. I put this in my template: {% now "Y-m-d H:m:s" %} It returns: 2006-11-14 15:49:52 My time is actually 07:49:52 - it's 8 hours o