[PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Nathan Rixham

Dirk wrote:

Hello,

what could cause the timezone in PHP to, randomly, jump back and forth 6 
hours now and then?



from phpinfo():


date
date/time support enabled
Olson Timezone Database Version 0.system
Timezone Database internal
Default timezone America/Chicago

DirectiveLocal ValueMaster Value
date.default_latitude31.766731.7667
date.default_longitude35.233335.2333
date.sunrise_zenith90.5890.58
date.sunset_zenith90.5890.58
date.timezoneEurope/SwedenEurope/Sweden


Default timezone jumps between America/Chicago and Europe/Berlin 
while date.timezone stays Europe/Sweden all the time...



Dirk


you're not on multiple load balanced / dns round robin servers are you..?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Dirk

Nathan Rixham wrote:

Dirk wrote:

Hello,

what could cause the timezone in PHP to, randomly, jump back and forth 
6 hours now and then?



from phpinfo():


date
date/time support enabled
Olson Timezone Database Version 0.system
Timezone Database internal
Default timezone America/Chicago

DirectiveLocal ValueMaster Value
date.default_latitude31.766731.7667
date.default_longitude35.233335.2333
date.sunrise_zenith90.5890.58
date.sunset_zenith90.5890.58
date.timezoneEurope/SwedenEurope/Sweden


Default timezone jumps between America/Chicago and Europe/Berlin 
while date.timezone stays Europe/Sweden all the time...



Dirk


you're not on multiple load balanced / dns round robin servers are you..?



no.. it's just a home server...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Nathan Rixham

Dirk wrote:

Nathan Rixham wrote:

Dirk wrote:

Hello,

what could cause the timezone in PHP to, randomly, jump back and 
forth 6 hours now and then?



from phpinfo():


date
date/time support enabled
Olson Timezone Database Version 0.system
Timezone Database internal
Default timezone America/Chicago

DirectiveLocal ValueMaster Value
date.default_latitude31.766731.7667
date.default_longitude35.233335.2333
date.sunrise_zenith90.5890.58
date.sunset_zenith90.5890.58
date.timezoneEurope/SwedenEurope/Sweden


Default timezone jumps between America/Chicago and 
Europe/Berlin while date.timezone stays Europe/Sweden all the 
time...



Dirk


you're not on multiple load balanced / dns round robin servers are you..?



no.. it's just a home server...



random..
home server is windows xp or vista, when you installed the os it was set 
to locale America/Chicago (control panel, locales) you then changed it 
to Europe/Sweden - as a developer you frequently hit a key combination 
by mistake which switches locale, and php picks it up
to fix remove the extra america/chicago locale in control panel and 
problem sorted


if thats it i'll eat my hat lol

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Dirk

Nathan Rixham wrote:

Dirk wrote:

Nathan Rixham wrote:

Dirk wrote:

Hello,

what could cause the timezone in PHP to, randomly, jump back and 
forth 6 hours now and then?



from phpinfo():


date
date/time support enabled
Olson Timezone Database Version 0.system
Timezone Database internal
Default timezone America/Chicago

DirectiveLocal ValueMaster Value
date.default_latitude31.766731.7667
date.default_longitude35.233335.2333
date.sunrise_zenith90.5890.58
date.sunset_zenith90.5890.58
date.timezoneEurope/SwedenEurope/Sweden


Default timezone jumps between America/Chicago and 
Europe/Berlin while date.timezone stays Europe/Sweden all the 
time...



Dirk


you're not on multiple load balanced / dns round robin servers are 
you..?




no.. it's just a home server...



random..
home server is windows xp or vista, when you installed the os it was set 
to locale America/Chicago (control panel, locales) you then changed it 
to Europe/Sweden - as a developer you frequently hit a key combination 
by mistake which switches locale, and php picks it up
to fix remove the extra america/chicago locale in control panel and 
problem sorted


if thats it i'll eat my hat lol



no... it's ubuntu... mostly the timezone is correct (Europe/Berlin).. 
sometimes it goes 6 hours back... the system clock remains correct 
btw... really, only PHP is affected... i never seen anything like this...


:C

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Dirk

Nathan Rixham wrote:

Dirk wrote:

Nathan Rixham wrote:

Dirk wrote:

Hello,

what could cause the timezone in PHP to, randomly, jump back and 
forth 6 hours now and then?



from phpinfo():


date
date/time support enabled
Olson Timezone Database Version 0.system
Timezone Database internal
Default timezone America/Chicago

DirectiveLocal ValueMaster Value
date.default_latitude31.766731.7667
date.default_longitude35.233335.2333
date.sunrise_zenith90.5890.58
date.sunset_zenith90.5890.58
date.timezoneEurope/SwedenEurope/Sweden


Default timezone jumps between America/Chicago and 
Europe/Berlin while date.timezone stays Europe/Sweden all the 
time...



Dirk


you're not on multiple load balanced / dns round robin servers are 
you..?




no.. it's just a home server...



random..
home server is windows xp or vista, when you installed the os it was set 
to locale America/Chicago (control panel, locales) you then changed it 
to Europe/Sweden - as a developer you frequently hit a key combination 
by mistake which switches locale, and php picks it up
to fix remove the extra america/chicago locale in control panel and 
problem sorted


if thats it i'll eat my hat lol




also PHP shows the correct unix time... only the timezone is messed up 
by 6 hours now and then...


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php