mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 17:05:46 +00:00
send end date to end of day
This commit is contained in:
parent
a60294f371
commit
73650ae32e
|
@ -274,7 +274,7 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"]) {
|
||||||
}
|
}
|
||||||
if(isset($_GET["createend"])) {
|
if(isset($_GET["createend"])) {
|
||||||
$tmp = explode("-", $_GET["createend"]);
|
$tmp = explode("-", $_GET["createend"]);
|
||||||
$stopdate = array('year'=>(int)$tmp[2], 'month'=>(int)$tmp[1], 'day'=>(int)$tmp[0], 'hour'=>0, 'minute'=>0, 'second'=>0);
|
$stopdate = array('year'=>(int)$tmp[2], 'month'=>(int)$tmp[1], 'day'=>(int)$tmp[0], 'hour'=>23, 'minute'=>59, 'second'=>59);
|
||||||
} else {
|
} else {
|
||||||
if(isset($_GET["createendyear"]))
|
if(isset($_GET["createendyear"]))
|
||||||
$stopdate = array('year'=>$_GET["createendyear"], 'month'=>$_GET["createendmonth"], 'day'=>$_GET["createendday"], 'hour'=>23, 'minute'=>59, 'second'=>59);
|
$stopdate = array('year'=>$_GET["createendyear"], 'month'=>$_GET["createendmonth"], 'day'=>$_GET["createendday"], 'hour'=>23, 'minute'=>59, 'second'=>59);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user