From a9caf736867d5df0ff3b82c9e8500318832fa537 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 12 Nov 2015 14:50:11 -0500 Subject: Server operations need the original timestamp, but keep the pretty one for local presentation. Fixes #5250 --- config/autoconfigbackup/autoconfigbackup.php | 8 ++++---- config/autoconfigbackup/autoconfigbackup.xml | 2 +- pkg_config.10.xml | 2 +- pkg_config.8.xml | 2 +- pkg_config.8.xml.amd64 | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/autoconfigbackup/autoconfigbackup.php b/config/autoconfigbackup/autoconfigbackup.php index d384e3dd..dcc7a489 100644 --- a/config/autoconfigbackup/autoconfigbackup.php +++ b/config/autoconfigbackup/autoconfigbackup.php @@ -365,7 +365,7 @@ EOF; /* Convert the time from server time to local. See #5250 */ $budate = new DateTime($tmp_array['time'], $acbtz); $budate->setTimezone($mytz); - $tmp_array['time'] = $budate->format(DATE_RFC2822); + $tmp_array['localtime'] = $budate->format(DATE_RFC2822); if ($ds_split[2] && $ds_split[0]) { $confvers[] = $tmp_array; @@ -409,16 +409,16 @@ EOF; foreach ($confvers as $cv): ?> - + - + - + diff --git a/config/autoconfigbackup/autoconfigbackup.xml b/config/autoconfigbackup/autoconfigbackup.xml index 93526a49..91da371a 100644 --- a/config/autoconfigbackup/autoconfigbackup.xml +++ b/config/autoconfigbackup/autoconfigbackup.xml @@ -43,7 +43,7 @@ Automatically backs up your pfSense configuration. All contents are encrypted before being sent to the server. Requires Gold Subscription from https://portal.pfsense.org pfSense Portal subscription AutoConfigBackup - 1.30 + 1.31 Diagnostics: Auto Configuration Backup Change /usr/local/pkg/autoconfigbackup.inc diff --git a/pkg_config.10.xml b/pkg_config.10.xml index efe0b45f..9476968f 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -774,7 +774,7 @@ https://portal.pfsense.org Services - 1.30 + 1.31 RELEASE 2.2 https://doc.pfsense.org/index.php/AutoConfigBackup diff --git a/pkg_config.8.xml b/pkg_config.8.xml index 76faf2fb..78670f98 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -833,7 +833,7 @@ Automatically backs up your pfSense configuration. All contents are encrypted before being sent to the server. Requires Gold Subscription from https://portal.pfsense.org https://portal.pfsense.org Services - 1.30 + 1.31 Stable 1.2 https://doc.pfsense.org/index.php/AutoConfigBackup diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index 40ee1b39..7ab0af74 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -820,7 +820,7 @@ Automatically backs up your pfSense configuration. All contents are encrypted before being sent to the server. Requires Gold Subscription from https://portal.pfsense.org https://portal.pfsense.org Services - 1.30 + 1.31 Stable 1.2 https://doc.pfsense.org/index.php/AutoConfigBackup -- cgit v1.2.3