Skip to content
Snippets Groups Projects
Commit 06d5edd6 authored by Benjamin Franzke's avatar Benjamin Franzke Committed by Oliver Bartsch
Browse files

[BUGFIX] Fix Typo3DbQueryParserTest for custom php timezones

The test setup used to initialize the DateAspect from a string,
that means the local php timezone has been taken into account,
and test verficiation fails with date offsets if the local
timezone is not UTC.

Adapt to initialize from a unix timestamp, as this ensures
the local timezone has no effect on the test. Note that the
real application does the same, as the DateAspect in initialized
from the timestamp in GLOBALS['EXEC_TIME'].

Releases: master, 10.4, 9.5
Resolves: #94135
Change-Id: I0494ac3e1911f34a3a79c3063caaabad1c0027b7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69141


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarTymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarTymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent fe1f18ff
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment