We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3af52b commit 2ca3d9aCopy full SHA for 2ca3d9a
src/WebApp/Component/DateRangeInput.php
@@ -56,7 +56,7 @@ public static function getPostValue($name, $timezoneId) {
56
return self::fromString($range);
57
}
58
59
- public function fromString($range) {
+ public static function fromString($range) {
60
if ($range != NULL) {
61
list($fromS, $untilS) = explode(' - ', $range, 2);
62
$from = Date::createFromFormat(I18N::_('daterange_internal_format').' H:i:s', $fromS.' 00:00:00', $timezoneId);
0 commit comments