diff options
| author | Joe Carstairs <me@joeac.net> | 2026-06-22 17:26:29 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-06-22 17:26:29 +0100 |
| commit | 44901943894cad8b210c086e88f42bff82b0211a (patch) | |
| tree | c63c55d71313971dadefb75d8b8df24390268d36 /http/src/microlog | |
| parent | 71052b8c265c500f8a39f5e0763b74cb5df071fc (diff) | |
replaces :: with `cut` for POSIX compatibility in upp* source files
Diffstat (limited to 'http/src/microlog')
| -rw-r--r-- | http/src/microlog/rss.uppxml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http/src/microlog/rss.uppxml b/http/src/microlog/rss.uppxml index 2a374fb..6c17088 100644 --- a/http/src/microlog/rss.uppxml +++ b/http/src/microlog/rss.uppxml @@ -18,7 +18,7 @@ NOW_RFC_822="$(TZ=UT date +"%a, %d %b %Y %H:%M:%S UT")" for post in $POSTS; do POST_ID="${post::${#post}-17}" source "${SRC}/microlog/${post}.args" -DATE_PUBLISHED_RFC_822="$(TZ=UT date --date="${POST_ID::10}" +"%a, %d %b %Y %H:%M:%S UT")" +DATE_PUBLISHED_RFC_822="$(TZ=UT date --date="$( echo "${POST_ID}" | cut -c1-10)" +"%a, %d %b %Y %H:%M:%S UT")" #! <item> |
