docs(header): switch date format from RFC 5322 to ISO 8601

- universally readable
This commit is contained in:
Ming Di Leom 2022-12-16 08:24:29 +00:00
parent fa02736f41
commit 3b97af4dc2
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ grep -F -vf "../src/exclude.txt" | \
sort -u > "domains.txt"
## Merge malware domains and URLs
CURRENT_TIME="$(date -R -u)"
CURRENT_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
FIRST_LINE="! Title: VN Malicious Domains Blocklist\n! Description: Block malicious domains targeting Vietnamese users"
SECOND_LINE="! Updated: $CURRENT_TIME"
THIRD_LINE="! Expires: 1 day (update frequency)"