Bug #63740 [Com]: strtotime seems to use both sunday and monday as start of week

From: Date: Sun, 11 Sep 2016 09:47:11 +0000
Subject: Bug #63740 [Com]: strtotime seems to use both sunday and monday as start of week
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203961@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63740&edit=1

 ID:                 63740
 Comment by:         sylvain at serval-agency dot fr
 Reported by:        salmanarshad2000 at yahoo dot com
 Summary:            strtotime seems to use both sunday and monday as
                     start of week
 Status:             Closed
 Type:               Bug
 Package:            Date/time related
 PHP Version:        5.4.9
 Assigned To:        derick
 Block user comment: N
 Private report:     N

 New Comment:

Hello,

I'm surprised the behavior of strtotime.

Today Sunday, September 11, 2016:
date ( 'd.m.Y', strtotime ('Saturday this week')); // 05.09.2016 instead of
09.10.2016
date ( 'd.m.Y', strtotime ('Friday this week')); // 05.09.2016 instead of
09.09.2016


Previous Comments:
------------------------------------------------------------------------
[2016-08-07 09:39:07] cmb@php.net

Related To: Bug #68603

------------------------------------------------------------------------
[2016-08-07 09:32:37] cmb@php.net

Related To: Bug #63392

------------------------------------------------------------------------
[2016-08-07 09:29:07] cmb@php.net

Related To: Bug #64181

------------------------------------------------------------------------
[2016-08-07 09:27:10] cmb@php.net

Related To: Bug #54409

------------------------------------------------------------------------
[2016-08-01 14:13:17] requinix@php.net

Related To: Bug #72719

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=63740


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


Thread (12 messages)

« previous php.bugs (#203961) next »