Re: [PHP] date() and wrong timezone (or time)

2008-02-14 Thread Richard Lynch
On Wed, February 6, 2008 11:13 am, Martin Marques wrote: Nathan Nobbe escribió: On Feb 6, 2008 6:13 AM, Martin Marques [EMAIL PROTECTED] wrote: I got an update from tzdata on a Debian server due to a daylight saving change here in Argentina. The problem is that, even when the system sees

Re: [PHP] date() and wrong timezone (or time)

2008-02-07 Thread Jochem Maas
Martin Marques schreef: Nathan Nobbe escribió: On Feb 6, 2008 6:13 AM, Martin Marques [EMAIL PROTECTED] wrote: I got an update from tzdata on a Debian server due to a daylight saving change here in Argentina. I doubt that debian stable is pushing newer versions of TZ db, than that found

Re: [PHP] date() and wrong timezone (or time)

2008-02-07 Thread Daniel Brown
On Feb 7, 2008 8:34 AM, Jochem Maas [EMAIL PROTECTED] wrote: Martin Marques schreef: see what you have as the value for the date.timezone ini setting. I've already checked that, and it's not set. it should be set to something, so fix that. All other points being valid, Jochem, I

Re: [PHP] date() and wrong timezone (or time)

2008-02-07 Thread Eric Butera
On Feb 6, 2008 6:13 AM, Martin Marques [EMAIL PROTECTED] wrote: I got an update from tzdata on a Debian server due to a daylight saving change here in Argentina. The problem is that, even when the system sees the correct time, php keeps giving me the *old* hour. $ date mié feb 6 09:03:57

Re: [PHP] date() and wrong timezone (or time)

2008-02-07 Thread Martin Marques
Jochem Maas escribió: Martin Marques schreef: Nathan Nobbe escribió: On Feb 6, 2008 6:13 AM, Martin Marques [EMAIL PROTECTED] wrote: I got an update from tzdata on a Debian server due to a daylight saving change here in Argentina. I doubt that debian stable is pushing newer versions of TZ

Re: [PHP] date() and wrong timezone (or time)

2008-02-07 Thread David Giragosian
On 2/7/08, Daniel Brown [EMAIL PROTECTED] wrote: On Feb 7, 2008 8:34 AM, Jochem Maas [EMAIL PROTECTED] wrote: Martin Marques schreef: see what you have as the value for the date.timezone ini setting. I've already checked that, and it's not set. it should be set to something, so

Re: [PHP] date() and wrong timezone (or time)

2008-02-07 Thread Jochem Maas
Daniel Brown schreef: On Feb 7, 2008 8:34 AM, Jochem Maas [EMAIL PROTECTED] wrote: Martin Marques schreef: see what you have as the value for the date.timezone ini setting. I've already checked that, and it's not set. it should be set to something, so fix that. All other points being

[PHP] date() and wrong timezone (or time)

2008-02-06 Thread Martin Marques
I got an update from tzdata on a Debian server due to a daylight saving change here in Argentina. The problem is that, even when the system sees the correct time, php keeps giving me the *old* hour. $ date mié feb 6 09:03:57 ARST 2008 $ echo ?php echo date('H:i') . \\n\; ?|php5 08:04 What

Re: [PHP] date() and wrong timezone (or time)

2008-02-06 Thread Nathan Nobbe
On Feb 6, 2008 6:13 AM, Martin Marques [EMAIL PROTECTED] wrote: I got an update from tzdata on a Debian server due to a daylight saving change here in Argentina. The problem is that, even when the system sees the correct time, php keeps giving me the *old* hour. $ date mié feb 6 09:03:57

Re: [PHP] date() and wrong timezone (or time)

2008-02-06 Thread Martin Marques
Nathan Nobbe escribió: On Feb 6, 2008 6:13 AM, Martin Marques [EMAIL PROTECTED] wrote: I got an update from tzdata on a Debian server due to a daylight saving change here in Argentina. The problem is that, even when the system sees the correct time, php keeps giving me the *old* hour. $ date

Re: [PHP] date() and wrong timezone (or time)

2008-02-06 Thread Nathan Nobbe
On Feb 6, 2008 12:13 PM, Martin Marques [EMAIL PROTECTED] wrote: see what you have as the value for the date.timezone ini setting. I've already checked that, and it's not set. then you should probly set it ;) Anyway, I found out that PHP uses an internal tz database (very bad IMHO) and it

Re: [PHP] date() and wrong timezone (or time)

2008-02-06 Thread Martin Marques
Nathan Nobbe escribió: On Feb 6, 2008 12:13 PM, Martin Marques [EMAIL PROTECTED] wrote: see what you have as the value for the date.timezone ini setting. I've already checked that, and it's not set. then you should probly set it ;) It has the right TZ set. I checked it with

Re: [PHP] date() and wrong timezone (or time)

2008-02-06 Thread Andrew Ballard
On Feb 6, 2008 12:48 PM, Martin Marques [EMAIL PROTECTED] wrote: Nathan Nobbe escribió: On Feb 6, 2008 12:13 PM, Martin Marques [EMAIL PROTECTED] wrote: see what you have as the value for the date.timezone ini setting. I've already checked that, and it's not set. then you should