Add missing spaces
This commit is contained in:
parent
54dadbe7da
commit
2ddda3a4b6
12
rfc8416.php
12
rfc8416.php
|
@ -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"));
|
||||||
|
|
12
roagen.php
12
roagen.php
|
@ -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"));
|
||||||
|
|
Loading…
Reference in a new issue