ID:               21984
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Verified
 Bug Type:         Date/time related
 Operating System: SuSE Linux 8.1
 PHP Version:      4.3.0
 New Comment:

Well, but it isn't correct now, but was before... or is there a new
term with with a can determine the "coming Monday" with strtotime?


Previous Comments:
------------------------------------------------------------------------

[2003-02-03 05:36:56] [EMAIL PROTECTED]

H'rumph!  Actually, both of your servers are producing the answer they
should!

In PHP versions prior to 4.3.0, the handling of "next" in strtotime()
was incorrect; it was fixed for 4.3.0, so your script will require a
minor update.  Please see bug http://bugs.php.net/bug.php?id=18655 for
the relevent discussion.

This bug should be set to Bogus -- I don't think I have karma yet, so
would somebody do it, please?

Cheers!

Mike

------------------------------------------------------------------------

[2003-01-31 11:34:23] [EMAIL PROTECTED]

Just some into: I have "downgraded" the server to 4.2.3 - now it works
fine...

------------------------------------------------------------------------

[2003-01-31 11:22:59] [EMAIL PROTECTED]

Can I do something against that or do I have to wait for 4.3.1?

Regards,
Rolf

------------------------------------------------------------------------

[2003-01-31 10:58:20] [EMAIL PROTECTED]

Confirmed with HEAD on Linux.

------------------------------------------------------------------------

[2003-01-31 08:39:52] [EMAIL PROTECTED]

Today is Friday, 31st Jan. 

On our server with the new PHP 4.3.0, strtotime says "next monday" is
"Feb 10th 2003". That is wrong!

On our older servers, which have still PHP 4.2.3, the very same script
says "Feb 3rd 2003", which is correct.

In 4.3.0 you fixed a bug  with "calculation of number of week" - maybe
that's the problem.

Server clocks are syncronized between the servers, so that's not the
point :-)

Thanks and bye,
Rolf

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21984&edit=1

Reply via email to