summaryrefslogtreecommitdiff
path: root/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make.sh')
-rwxr-xr-xmake.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/make.sh b/make.sh
index 5390a80..e6edeef 100755
--- a/make.sh
+++ b/make.sh
@@ -73,8 +73,8 @@ for page in *.md; do
ordinal="th"
- day="$(date -r "$page" "+%d")"
- day=$(($day))
+ day="$(date -r "$page" "+%e")"
+ day=$((day))
case $day in
1 | 21 | 31 )