Skip to content

Commit 719898e

Browse files
beinvisiblelarcorba
authored andcommitted
ISO8601 date for weekly
1 parent eea3dbe commit 719898e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql_zbx_part.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ sub name_next_part {
160160
$name_template = $curr_date->strftime('p%Y_%m_%d');
161161
}
162162
elsif ($period eq 'week') {
163-
$name_template = $curr_date->strftime('p%Y_%m_w%W');
163+
$name_template = $curr_date->strftime('p%Y_w%W');
164164
}
165165
elsif ($period eq 'month') {
166166
$name_template = $curr_date->strftime('p%Y_%m');

0 commit comments

Comments
 (0)