Skip to content

Commit 939e590

Browse files
committed
bugfix for wrong stats calculation
1 parent dd9b517 commit 939e590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-update-user-stats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ TOTAL_U_BACKUPS=0
6868
for user in $user_list; do
6969
USER_DATA=$VESTA/data/users/$user
7070
source $USER_DATA/user.conf
71-
next_month=$(date +'%m/01' -d '+ 1 month')
71+
next_month=$(date +'%m/01/%y' -d '+ 1 month')
7272
DATE=$(date -d "$next_month -1day" +%F)
7373

7474
# Compiling report string

0 commit comments

Comments
 (0)