From b9eb33b743f45c2260e3766daa8fcd0eda626574 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Fri, 16 Dec 2022 08:23:27 +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 c56bbd8..acf9341 100644 --- a/src/script.sh +++ b/src/script.sh @@ -36,7 +36,7 @@ grep -F -vf "../src/exclude.txt" | \ sort -u > "tracking-url.txt" -CURRENT_TIME="$(date -R -u)" +CURRENT_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ") FIRST_LINE="! Title: Tracking JS Blocklist" SECOND_LINE="! Updated: $CURRENT_TIME" THIRD_LINE="! Expires: 7 day (update frequency)"