Bug #101171
Updated by Jonas Renggli 11 months ago
h1. Actual Result The dates in the list correctly respect the current timezone. However, the filter does not. When applying a time range filter, the list displays entries outside of that specified range. For example, when filtering from 18:00 to 19:00, the log entries shown are from 20:48. !2023-06-26-belog.png! !Bildschirmfoto 2023-06-26 um 20.54.15.png! h1. Expected Result The log entries shown should correspond to the date range configured in the filter. h1. Steps to reproduce * Install TYPO3 12 following the instructions on https://docs.typo3.org/m/typo3/tutorial-getting-started/main/en-us/Installation/TutorialDdev.html. * Configure the timezone to @Europe/Zurich@. * Set up TYPO3. * Log in to the TYPO3 backend. * Navigate to the Log module (e.g. https://typo3twelve.ddev.site/typo3/module/system/BelogLog). * Observe a log entry from the most recent login, such as "User admin logged in from 192.168.144.13." * Use the "From" and "To" fields to filter the log entries by date and time. A short script to speed things up ;-) <pre><code class="shell"> ddev config --project-type=typo3 --docroot=public --create-docroot --php-version=8.1 --timezone=Europe/Zurich ddev start ddev composer create "typo3/cms-base-distribution:^12" ddev exec ./vendor/bin/typo3 setup ddev launch </code></pre> h1. Environment Tested both with TYPO3 11 and 12