aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-04-06 13:28:38 +0300
committerCem Keylan <cem@ckyln.com>2020-04-06 13:28:38 +0300
commitef37e4075861b99725d11f6dd63beada87b2931a (patch)
treed0efbde5a2297a239bbbe6beac8d53a341228dad /build
parentd182db581bb731a81c3c8e376f393ac65faf246e (diff)
downloadwebsite-ef37e4075861b99725d11f6dd63beada87b2931a.tar.gz
update
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index e78d9fe..cc4cead 100755
--- a/build
+++ b/build
@@ -112,7 +112,7 @@ genrss() {
<description>a simple busybox linux distribution</description>
<link>https://carbslinux.org</link>
<atom:link href="https://carbslinux.org/${2:-rss}.xml" rel="self" type="application/rss+xml" />
-<lastBuildDate>$(date)</lastBuildDate>
+<lastBuildDate>$(date -u +%b\ %a\ %Y\ %H):00</lastBuildDate>
EOF
find "$1" -type f ! -name index.md | sort -r | while read -r post ; do
postdate="${post##*/}" ; postdate="${postdate%.*}"