removing prett-date

This commit is contained in:
mcguirepr89
2022-01-24 18:42:12 -05:00
parent 22a481e116
commit 292f161991
-14
View File
@@ -1,14 +0,0 @@
#!/usr/bin/env bash
# Pretty date suffixes
TODAY="$(date +%e)"
if [[ $TODAY == ' 1' ]] || [[ $TODAY == 21 ]] || [[ $TODAY == 31 ]]; then
SUFFIX="st"
elif [[ $TODAY == ' 2' ]] || [[ $TODAY == 22 ]];then
SUFFIX="nd"
elif [[ $TODAY == ' 3' ]] || [[ $TODAY == 23 ]];then
SUFFIX="rd"
else
SUFFIX="th"
fi
echo "$SUFFIX"