From 214cfb7be8052e9b92cd37621e3ae407135bb377 Mon Sep 17 00:00:00 2001 From: MDLeom <2809763-curben@users.noreply.gitlab.com> Date: Fri, 16 Dec 2022 08:16:29 +0000 Subject: [PATCH] docs(header): switch date format from RFC 5322 to ISO 8601 - universally readable --- src/script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script.sh b/src/script.sh index 0fb1c0a1..239b5bf9 100644 --- a/src/script.sh +++ b/src/script.sh @@ -176,7 +176,7 @@ grep -F -f "urlhaus-top-domains.txt" > "malware-url-top-domains-raw-online.txt" ## Merge malware domains and URLs -CURRENT_TIME="$(date -R -u)" +CURRENT_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ") FIRST_LINE="! Title: Malicious URL Blocklist" SECOND_LINE="! Updated: $CURRENT_TIME" THIRD_LINE="! Expires: 1 day (update frequency)"