diff --git a/mysql_zbx_part.pl b/mysql_zbx_part.pl index f5df049..a866394 100755 --- a/mysql_zbx_part.pl +++ b/mysql_zbx_part.pl @@ -74,7 +74,7 @@ # name templates for the different periods my $partition_name_templates = { 'day' => 'p%Y_%m_%d', - 'week' => 'p%Y_w%W', + 'week' => 'p%Y_w%V', 'month' => 'p%Y_%m', }; @@ -237,4 +237,4 @@ sub log_writer { my $log_priority = shift; syslog($log_priority, $log_line); } -} \ No newline at end of file +}