CC-3957: Make Schedule Widgets show future Sunday instead of past Sunday
- fixed
This commit is contained in:
parent
6316c23b25
commit
06d90c53aa
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ class Application_Common_DateHelper
|
|||
*/
|
||||
function getWeekStartDate()
|
||||
{
|
||||
$startDate = date('w') == 0 ? date('Y-m-d') : date('Y-m-d', strtotime('last sunday'));
|
||||
$startDate = date('w') == 0 ? date('Y-m-d') : date('Y-m-d', strtotime('monday'));
|
||||
$startDateTime = new DateTime($startDate);
|
||||
return $startDateTime->format('Y-m-d H:i:s');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue