mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-31 01:24:35 +02:00
fix toshiba timezone
This commit is contained in:
parent
60320e7bac
commit
965615441c
@ -116,7 +116,7 @@ sub manage_selection {
|
|||||||
}
|
}
|
||||||
|
|
||||||
my ($i, $current_time) = (1, time());
|
my ($i, $current_time) = (1, time());
|
||||||
my $tz = centreon::plugins::misc::set_timezone(name => $self->{option_results}->{timezone}));
|
my $tz = centreon::plugins::misc::set_timezone(name => $self->{option_results}->{timezone});
|
||||||
while (my $row = $self->{sql}->fetchrow_hashref()) {
|
while (my $row = $self->{sql}->fetchrow_hashref()) {
|
||||||
# date form: 2017-09-22 01:01:08.133
|
# date form: 2017-09-22 01:01:08.133
|
||||||
$row->{LOGDATE} =~ /^(\d+)-(\d+)-(\d+)\s+(\d+)[:\/](\d+)[:\/](\d+)/;
|
$row->{LOGDATE} =~ /^(\d+)-(\d+)-(\d+)\s+(\d+)[:\/](\d+)[:\/](\d+)/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user