From a93bff89cb396bda8b889a65772898740c45b4d2 Mon Sep 17 00:00:00 2001 From: Bigsk Date: Sat, 26 Sep 2020 13:29:24 +0800 Subject: [PATCH] update time/api.php. --- time/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/time/api.php b/time/api.php index 094e30c..172e215 100644 --- a/time/api.php +++ b/time/api.php @@ -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).'"}'; } } \ No newline at end of file