Remove the leading zero in the month, which breaks on the 8th month of the year
This commit is contained in:
parent
f8c58e3ab5
commit
c5ab972dfd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue