Remove the leading zero in the month, which breaks on the 8th month of the year

This commit is contained in:
Zachary Seguin 2016-08-01 00:22:21 -04:00
parent f8c58e3ab5
commit c5ab972dfd
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ EXPIRED_USERS=$(mktemp "/tmp/expired_users.XXXX")
# Get the current term
YEAR=$(date '+%Y')
MONTH=$(date '+%m')
MONTH=$(date '+%-m')
TERM_START_MONTH=$(($MONTH - (($MONTH - 1) % 4)))
# NOTE: This is configured to give 1 months grace period