Pasted a magic string that makes date show yesterday on alpine.

This commit is contained in:
Daniel Mowitz 2023-08-24 23:17:29 +02:00
parent c2740cc08d
commit 72b7178fd4

View file

@ -1,6 +1,6 @@
#!/bin/sh
yesterday=`date -d 'yesterday' -I`
yesterday=`date -d "@$(($(date +%s) - 86400))" -I`
echo "/tmp/webmention-storage/$yesterday"