From 54dadbe7da7237551d3ce5695757eee9067b0cea Mon Sep 17 00:00:00 2001 From: Chriztoffer Date: Fri, 7 Feb 2020 14:27:53 +0000 Subject: [PATCH] Add missing spaces --- rfc8416.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rfc8416.php b/rfc8416.php index 28c6328..14794cf 100755 --- a/rfc8416.php +++ b/rfc8416.php @@ -26,15 +26,15 @@ $roas["metadata"]["human"]["url"] .= $roas["metadata"]["human"]["commit"]; * Numbersmustbeunquotedintegers,andtimeformatmust * beepochformat.TImezoneissettoEtc/UTC. */ -$roas["metadata"]["counts"]=(int)count($roas["roas"]); -$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"]["counts"] = (int)count($roas["roas"]); +$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"] = ""; //$roas["metadata"]["signatureData"] = ""; // Additional human read-able DateTime format, example: 2013-04-12T15:52:01+00:00 -$roas["metadata"]["human"]["generated"]=date_format(new \DateTime("now",new \DateTimeZone("UTC")),"c"); -$roas["metadata"]["human"]["valid"]=date_format(date_modify(new \DateTime("now",new \DateTimeZone("UTC")),"+3day"),"c"); +$roas["metadata"]["human"]["generated"] = date_format(new \DateTime("now",new \DateTimeZone("UTC")),"c"); +$roas["metadata"]["human"]["valid"] = date_format(date_modify(new \DateTime("now",new \DateTimeZone("UTC")),"+3day"),"c"); $roas["validationOutputFilters"]["prefixFilters"] = array(); $roas["validationOutputFilters"]["bgpsecFilters"] = array();