From 580ed7c937ae1d41d9606c0c38aca32602f11b01 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 21 Feb 2019 12:54:56 +0100 Subject: [PATCH] fix toshiba timezone --- apps/toshiba/storemate/sql/mode/maintenanceplan.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/toshiba/storemate/sql/mode/maintenanceplan.pm b/apps/toshiba/storemate/sql/mode/maintenanceplan.pm index 93060e984..89f354b85 100644 --- a/apps/toshiba/storemate/sql/mode/maintenanceplan.pm +++ b/apps/toshiba/storemate/sql/mode/maintenanceplan.pm @@ -122,7 +122,7 @@ sub manage_selection { $row->{LOGDATE} =~ /^(\d+)-(\d+)-(\d+)\s+(\d+)[:\/](\d+)[:\/](\d+)/; my $dt = DateTime->new(year => $1, month => $2, day => $3, hour => $4, minute => $5, second => $6, - %tz); + %$tz); next if (defined($self->{option_results}->{memory}) && defined($last_time) && $last_time > $dt->epoch);