Skip to content
Snippets Groups Projects
Commit bba0e26c authored by Simon Schaufelberger's avatar Simon Schaufelberger Committed by Stefan Bürk
Browse files

[BUGFIX] Use correct time format in from and to filter

H needs to be used because the datepicker is in 24h mode and
i stands for minutes with leading zero

Resolves: #97650
Releases: main, 11.5
Change-Id: Id3e37fdf08f34eda8b9e2a40e877e611996c2404
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74687


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent e1e4cabc
Branches
Tags
No related merge requests found
......@@ -60,7 +60,7 @@ class BackendLogController extends ActionController
$this->settings['timeFormat'] = $GLOBALS['TYPO3_CONF_VARS']['SYS']['hhmm'];
}
// Static format needed for date picker (flatpickr), see BackendController::generateJavascript() and #91606
$this->settings['dateTimeFormat'] = 'h:m d-m-Y';
$this->settings['dateTimeFormat'] = 'H:i d-m-Y';
$constraintConfiguration = $this->arguments->getArgument('constraint')->getPropertyMappingConfiguration();
$constraintConfiguration->allowAllProperties();
}
......
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