From 3d50632e9cd699f6dd12cc848b396255e59d77b1 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Mon, 30 Dec 2019 14:51:12 +0100 Subject: [PATCH] add datetime module ups hp --- hardware/ups/hp/snmp/mode/time.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/hardware/ups/hp/snmp/mode/time.pm b/hardware/ups/hp/snmp/mode/time.pm index 34fd20ea0..2698da5cc 100644 --- a/hardware/ups/hp/snmp/mode/time.pm +++ b/hardware/ups/hp/snmp/mode/time.pm @@ -24,6 +24,7 @@ use base qw(snmp_standard::mode::ntp); use strict; use warnings; +use DateTime; sub get_target_time { my ($self, %options) = @_;