Update metadata headers
This commit is contained in:
parent
8bc9e33ea4
commit
cec6d7e2a0
|
@ -239,7 +239,7 @@ $roas["metadata"]["human"]["url"] .= $roas["metadata"]["human"]["commit"];
|
||||||
* Numbers must be unquoted integers, and timeformat must
|
* Numbers must be unquoted integers, and timeformat must
|
||||||
* be epoch format. TImezone is set to Etc/UTC.
|
* 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"]["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"]["valid"] = (int)(date_format(date_modify(new \DateTime("now",new \DateTimeZone("UTC")),"+3day"),"U"));
|
||||||
//$roas["metadata"]["signature"] = "";
|
//$roas["metadata"]["signature"] = "";
|
||||||
|
|
Loading…
Reference in a new issue