use rfc2822 dates
This commit is contained in:
parent
f4fe55dcdb
commit
a1df2a48f3
|
@ -34,7 +34,7 @@ for file in $(ls -t entries/*.html); do
|
||||||
<div class=\"small\">%s</div>
|
<div class=\"small\">%s</div>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
" "${file%.*}.html" "$title" "$(git log --pretty=format:'%cd' --follow -- "$file" | tail -n 1)"
|
" "${file%.*}.html" "$title" "$(git log --pretty=format:'%cD' --follow -- "$file" | tail -n 1)"
|
||||||
done
|
done
|
||||||
|
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
|
|
@ -17,7 +17,7 @@ for entry in entries/*.html; do
|
||||||
printf "<item>\n"
|
printf "<item>\n"
|
||||||
printf "<title>%s</title>\n" "${title}"
|
printf "<title>%s</title>\n" "${title}"
|
||||||
printf "<link>%s</link>\n" "http://davidovski.xyz/$entry"
|
printf "<link>%s</link>\n" "http://davidovski.xyz/$entry"
|
||||||
printf "<pubDate>%s</pubDate>\n" "$(git log --pretty=format:'%cd' --follow -- "$entry" | tail -n 1)"
|
printf "<pubDate>%s</pubDate>\n" "$(git log --pretty=format:'%cD' --follow -- "$entry" | tail -n 1)"
|
||||||
|
|
||||||
|
|
||||||
printf "<description><![CDATA["
|
printf "<description><![CDATA["
|
||||||
|
|
Loading…
Reference in New Issue