update time/api.php.
This commit is contained in:
parent
7773d350b9
commit
a93bff89cb
@ -17,6 +17,6 @@ if($_GET['type']==''){
|
||||
if($error==true){
|
||||
echo '{"error":10004}';
|
||||
}else{
|
||||
echo '{"stamp":'.$time.',"year":“'.date("Y",$time_gap).'”,"month":"'.date("m",$time_gap).'","day":"'.date("d",$time_gap).'","hour":"'.date("H",$time_gap).'","minute":"'.date("i",$time_gap).'","second":"'.date("s",$time_gap).'"}';
|
||||
echo '{"stamp":'.$time.',"year":"'.date("Y",$time_gap).'","month":"'.date("m",$time_gap).'","day":"'.date("d",$time_gap).'","hour":"'.date("H",$time_gap).'","minute":"'.date("i",$time_gap).'","second":"'.date("s",$time_gap).'"}';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user