]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
ovpnclients.dat: Fix adjusting input dates
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Feb 2022 13:40:27 +0000 (13:40 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Tue, 15 Feb 2022 17:59:01 +0000 (17:59 +0000)
commit6e40963459eca547f1857d4e518d920518ff23a5
treed5fcc7d17f26288f2505c0b314229d0761cb36c3
parentbccde9948bbf5cee53da5f89ee90c202ca7ed8b0
ovpnclients.dat: Fix adjusting input dates

This patch changes that we no longer interpret any dates put in by the
user as UTC. They used to be converted into localtime because, although
they have already been in local time.

This went unnoticed since in Europe we are close (enough) to UTC that
there is no significant discrepancy on the report. However, being in
North America is enough to generate confusing reports.

Reported-by: Paul <kairis@gmail.com>
Fixes: #12768
Tested-by: Jon Murphy <jon.murphy@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/logs.cgi/ovpnclients.dat