fix: allow %Z for TimezoneDate, update docs accordingly #684

This commit is contained in:
Yang Jun
2024-04-21 15:57:43 +08:00
committed by Jun Yang
parent d48ac56824
commit e09657c52b
10 changed files with 79 additions and 42 deletions
+2 -1
View File
@@ -3,7 +3,7 @@
# Run `sed` in a way that's compatible with both macOS (BSD) and Linux (GNU)
sedi() {
if [[ "$OSTYPE" == "darwin"* ]]; then
sed -i '' "$@"
/usr/bin/sed -i '' "$@"
else
sed -i "$@"
fi
@@ -16,6 +16,7 @@ sedi \
-e 's/"contributorsPerLine": 7/"contributorsPerLine": 65535/g' \
docs/.all-contributorsrc
touch docs/themes/navy/layout/partial/all-contributors.swig
all-contributors --config docs/.all-contributorsrc generate
sedi 's/<br \/>.*<\/td>/<\/a><\/td>/g' docs/themes/navy/layout/partial/all-contributors.swig