From 939e5907d25bf02b527c402ca4303e85889b355a Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Tue, 1 Jan 2013 20:38:17 +0200 Subject: [PATCH] bugfix for wrong stats calculation --- bin/v-update-user-stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-update-user-stats b/bin/v-update-user-stats index 1ddf95654..366c4a5cd 100755 --- a/bin/v-update-user-stats +++ b/bin/v-update-user-stats @@ -68,7 +68,7 @@ TOTAL_U_BACKUPS=0 for user in $user_list; do USER_DATA=$VESTA/data/users/$user source $USER_DATA/user.conf - next_month=$(date +'%m/01' -d '+ 1 month') + next_month=$(date +'%m/01/%y' -d '+ 1 month') DATE=$(date -d "$next_month -1day" +%F) # Compiling report string