Re: datetime 8 hours off

2008-04-22 Thread Sander Steffann
Hi, > The only safe way to run multiple Django instances with different > timezone settings is to run them in separate processes using mod_wsgi > daemon mode or fastcgi type solutions. We are using runfcgi with protocol=ajp, with proxy_ajp on the Apache side. Works great here. Sander --~--~--

Re: datetime 8 hours off

2008-04-22 Thread Graham Dumpleton
Andrew Durdin wrote: > On Apr 4, 1:16�pm, Simon Oberhammer <[EMAIL PROTECTED]> > wrote: > > Magus on IRC told me that multiple django projects with different > > timezones serverd by apache / mod_python could be a problem - ie one > > changing TZ in a thread that also servers the other project.

Re: datetime 8 hours off

2008-04-22 Thread Andrew Durdin
On Apr 4, 1:16 pm, Simon Oberhammer <[EMAIL PROTECTED]> wrote: > Magus on IRC told me that multiple django projects with different > timezones serverd by apache / mod_python could be a problem - ie one > changing TZ in a thread that also servers the other project. > > So I set timezone-setting to

Re: datetime 8 hours off

2008-04-04 Thread Simon Oberhammer
Magus on IRC told me that multiple django projects with different timezones serverd by apache / mod_python could be a problem - ie one changing TZ in a thread that also servers the other project. So I set timezone-setting to Vienna/Europe for all of them and have not seen then datetime-problem si

Re: datetime 8 hours off

2008-04-04 Thread David Reynolds
On 3 Apr 2008, at 1:58 am, Simon Oberhammer wrote: > > thanks, i will try fastcgi tomorrow and report back. > >> Is the time constantly 8 hours behind or does that vary e.g. does the >> offset get larger over time? > > it's always 8 hours behind, but not reproducable. though it happens > everyday

Re: datetime 8 hours off

2008-04-02 Thread Simon Oberhammer
thanks, i will try fastcgi tomorrow and report back. > Is the time constantly 8 hours behind or does that vary e.g. does the > offset get larger over time? it's always 8 hours behind, but not reproducable. though it happens everyday. there are php sites running on the server.. well let's see if

Re: datetime 8 hours off

2008-04-02 Thread Graham Dumpleton
On Apr 2, 10:16 pm, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > Simon Oberhammer napisał(a): > > > anybody? after restartign apache everything is fine again.. i have to > > do this once or twice a day. > > > On Apr 1, 9:15 pm, Simon Oberhammer <[EMAIL PROTECTED]> > > wrote: > >>> What version of Dja

Re: datetime 8 hours off

2008-04-02 Thread Steven Armstrong
Simon Oberhammer wrote on 04/01/08 10:46: > hey group, > I have an inconsistant time problem, which goes away when I restart > apache, but then creeps up again after some time. When writing > comments in my custom app the time is 8hours behind (i'm CEST) *for > some users*. When I login with other

Re: datetime 8 hours off

2008-04-02 Thread Jarek Zgoda
Simon Oberhammer napisał(a): > anybody? after restartign apache everything is fine again.. i have to > do this once or twice a day. > > On Apr 1, 9:15 pm, Simon Oberhammer <[EMAIL PROTECTED]> > wrote: >>> What version of Django are you using?, what deployment method >>> are you using? (mod_pyth

Re: datetime 8 hours off

2008-04-02 Thread Simon Oberhammer
anybody? after restartign apache everything is fine again.. i have to do this once or twice a day. On Apr 1, 9:15 pm, Simon Oberhammer <[EMAIL PROTECTED]> wrote: > > What version of Django are you using?, what deployment method > > are you using? (mod_python, fast cgi, mod_wscgi). > > i'm using

Re: datetime 8 hours off

2008-04-01 Thread Simon Oberhammer
> What version of Django are you using?, what deployment method > are you using? (mod_python, fast cgi, mod_wscgi). i'm using mod_python and am running the current svn django. I've found an open timezone bug, but don't think its related http://code.djangoproject.com/changeset/7184 --~--~-

Re: datetime 8 hours off

2008-04-01 Thread Ramiro Morales
On Tue, Apr 1, 2008 at 5:46 AM, Simon Oberhammer <[EMAIL PROTECTED]> wrote: > > hey group, > I have an inconsistant time problem, which goes away when I restart > apache, but then creeps up again after some time. When writing > comments in my custom app the time is 8hours behind (i'm CEST) *fo

datetime 8 hours off

2008-04-01 Thread Simon Oberhammer
hey group, I have an inconsistant time problem, which goes away when I restart apache, but then creeps up again after some time. When writing comments in my custom app the time is 8hours behind (i'm CEST) *for some users*. When I login with others, its okay. in settings.py I have TIME_ZONE = 'Eur