alpine has a differente date command
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Sergio Álvarez 2024-04-14 00:25:02 +02:00
parent dacdd27a73
commit c902b1e87f
Signed by: salvarez
GPG Key ID: E69AEEDDE0085854
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ buildDate="$(date '+%d %b %Y')"
# $1=file $2=add to index
convert_md_to_html() {
fileName=$(basename "${1%.*}")
postDate=$(stat -c %y "$1" | date '+%d %b %Y' -f -)
postDate=$(date '+%d %b %Y' -d "$(stat -c %y "$1" | awk '{print $1}')")
bodyClass="page"
if [ $2 -eq 1 ]; then