Open linawolf opened 4 years ago
Hello @linawolf, thanks for reporting. Isn't the jQuery Date Picker today not obsolete? What about browsers native date picker with some up-to-tode fallback js lib?
I think it would be a good idea to ship a browsers native solution as working example. Such solutions are not trivial to implement.
web/typo3conf/ext/solr/Classes/Domain/Search/ResultSet/Facets/RangeBased/DateRange/DateRange.php
protected function getRangeString()
{
return $this->startRequested->format('Ymd') . '0000-' . $this->endRequested->format('Ymd') . '0000';
}
Throws error if start or enddate is not set. So we hat to do some JS tweaks to never send an empty date.
Describe the bug The Daterange datepicker is always displayed in English.
Importing the language package for the datepicker i.e.
makes no difference
To Reproduce TYPO3 8.7.36 eLTS Extension solr 8.1.2
DataRange Facet with Standard Template, Typoscript:
Expected behavior Month and Day should be in German
Used versions (please complete the following information):
Additional context We have the same problem on several instances the only solution so far was to exchange the DateRange Picker for one Based on Bootstraps bootstrap-datepicker.min.js with our own Template. The error can be reproduced in ddev and on production server.