diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2008-05-18 15:30:34 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2008-05-18 15:30:34 +0200 |
commit | 6b239270a134ef8f26d59a7ab9b35eeeeceb9c47 (patch) | |
tree | 081b7f67a6cb75bf05565593c866b890217f99dc /lib | |
parent | bfa39ae5e98f3d18f43b95a80a0d4315c795e0db (diff) | |
download | smokeping-6b239270a134ef8f26d59a7ab9b35eeeeceb9c47.tar.gz smokeping-6b239270a134ef8f26d59a7ab9b35eeeeceb9c47.tar.xz |
fixed rawlog name
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Smokeping.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index 1da8157..8437944 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -1896,7 +1896,7 @@ sub update_rrds($$$$$$) { for my $update (sort {$a->[1] <=> $b->[1]} @updates){ # make sure we put the updates in chronological order in my $s = $update->[0] ? "~".$update->[0] : ""; if ( $tree->{rawlog} ){ - my $file = POSIX::strftime $tree->{rawlog},$update->[1]; + my $file = POSIX::strftime $tree->{rawlog},localtime($update->[1]); if (open LOG,">>$name$s.$file.csv"){ print LOG time,"\t",join("\t",split /:/,$update->[2]),"\n"; close LOG; |