make date format compatible with *BSD

This commit is contained in:
Andrew Bauer 2016-02-11 08:10:16 -06:00
parent f5ff5d152c
commit 1811d71562
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ if ( $Config{ZM_TELEMETRY_DATA} )
my %telemetry;
$telemetry{uuid} = getUUID();
$telemetry{ip} = getIP();
$telemetry{timestamp} = runSysCmd("date -In");
$telemetry{timestamp} = runSysCmd("date +%Y-%m-%dT%H:%M:%S%z");
$telemetry{monitor_count} = countQuery("Monitors");
$telemetry{event_count} = countQuery("Events");
$telemetry{distro} = runSysCmd("uname -a");