Pasted a magic string that makes date show yesterday on alpine.
This commit is contained in:
parent
c2740cc08d
commit
72b7178fd4
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
yesterday=`date -d 'yesterday' -I`
|
||||
yesterday=`date -d "@$(($(date +%s) - 86400))" -I`
|
||||
|
||||
echo "/tmp/webmention-storage/$yesterday"
|
||||
|
||||
|
|
Loading…
Reference in a new issue