summaryrefslogtreecommitdiff
path: root/site/rss.xml
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-07-25 20:19:09 +0200
committerdavidovski <david@davidovski.xyz>2023-07-25 20:19:09 +0200
commit110f01efafe760317970498ac9a64829bf69fb92 (patch)
treea9d8d07d14b787eae9f933a2c0470a2b521ca3b7 /site/rss.xml
parent15f47f7bd74cd0ade0c95a1234f243438b46ad15 (diff)
fix dates for articles
Diffstat (limited to 'site/rss.xml')
-rwxr-xr-xsite/rss.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/rss.xml b/site/rss.xml
index d2ec426..c8d4d11 100755
--- a/site/rss.xml
+++ b/site/rss.xml
@@ -17,7 +17,7 @@ for entry in entries/*.html; do
printf "<item>\n"
printf "<title>%s</title>\n" "${title}"
printf "<link>%s</link>\n" "http://davidovski.xyz/$entry"
- printf "<pubDate>%s</pubDate>\n" "$(stat -c %z "$entry")"
+ printf "<pubDate>%s</pubDate>\n" "$(git log --pretty=format:'%cd' "$entry" | tail -n 1 )"
printf "<description><![CDATA["