1
0
Fork 0

Update metadata headers

This commit is contained in:
netravnen 2020-02-07 19:49:03 +00:00
parent 8bc9e33ea4
commit cec6d7e2a0
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ $roas["metadata"]["human"]["url"] .= $roas["metadata"]["human"]["commit"];
* Numbers must be unquoted integers, and timeformat must
* be epoch format. TImezone is set to Etc/UTC.
*/
$roas["metadata"]["counts"] = (int)count($roas["roas"]);
$roas["metadata"]["counts"] = (int)count($roas["locallyAddedAssertions"]["prefixAssertions"]);
$roas["metadata"]["generated"] = (int)(date_format(new \DateTime("now",new \DateTimeZone("UTC")),"U"));
$roas["metadata"]["valid"] = (int)(date_format(date_modify(new \DateTime("now",new \DateTimeZone("UTC")),"+3day"),"U"));
//$roas["metadata"]["signature"] = "";