From ad4c3cf6e953e28c412d930eeb9c9c03b3ccf6b0 Mon Sep 17 00:00:00 2001 From: kiruka4 Date: Fri, 28 Feb 2025 15:45:55 +0100 Subject: [PATCH] week to ISO 8601 --- mysql_zbx_part.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}