Add missing spaces

This commit is contained in:
netravnen 2020-02-07 14:30:55 +00:00
parent 54dadbe7da
commit 2ddda3a4b6
2 changed files with 12 additions and 12 deletions

View file

@ -18,13 +18,13 @@ $roas["metadata"]["human"]["url"] .= $roas["metadata"]["human"]["commit"];
/* /*
* Function: Add metadata * Function: Add metadata
* *
* Addinfo * Add info
* 1.generationtime(now), * 1. generation time (now),
* 2.expiretime(now+3days), * 2. expire time (now + 3 days),
* 3.numberofroutes * 3. number of routes
* *
* Numbersmustbeunquotedintegers,andtimeformatmust * Numbers must be unquoted integers, and timeformat must
* beepochformat.TImezoneissettoEtc/UTC. * be epoch format. TImezone is set to Etc/UTC.
*/ */
$roas["metadata"]["counts"] = (int)count($roas["roas"]); $roas["metadata"]["counts"] = (int)count($roas["roas"]);
$roas["metadata"]["generated"] = (int)(date_format(new \DateTime("now",new \DateTimeZone("UTC")),"U")); $roas["metadata"]["generated"] = (int)(date_format(new \DateTime("now",new \DateTimeZone("UTC")),"U"));

View file

@ -17,13 +17,13 @@ $roas["metadata"]["human"]["url"] .= $roas["metadata"]["human"]["commit"];
/* /*
* Function: Add metadata * Function: Add metadata
* *
* Addinfo * Add info
* 1.generationtime(now), * 1. generation time (now),
* 2.expiretime(now+3days), * 2. expire time (now + 3 days),
* 3.numberofroutes * 3. number of routes
* *
* Numbersmustbeunquotedintegers,andtimeformatmust * Numbers must be unquoted integers, and timeformat must
* beepochformat.TImezoneissettoEtc/UTC. * be epoch format. TImezone is set to Etc/UTC.
*/ */
$roas["metadata"]["counts"] = (int)count($roas["roas"]); $roas["metadata"]["counts"] = (int)count($roas["roas"]);
$roas["metadata"]["generated"] = (int)(date_format(new \DateTime("now",new \DateTimeZone("UTC")),"U")); $roas["metadata"]["generated"] = (int)(date_format(new \DateTime("now",new \DateTimeZone("UTC")),"U"));