codefog / contao-haste

Haste is a collection of tools and classes to ease working with Contao
http://codefog.pl/extension/haste.html
MIT License
43 stars 24 forks source link

rangeFilter with rgxp=datim #84

Closed fiedsch closed 8 years ago

fiedsch commented 8 years ago

Haste\Dca\DateRangeFilter::createDatepickerInputField() honors 'time' or 'datim' rgxp and creates the correct date picker, but in validateAndGetTstamp() which is called in filterRecords() you only seem to get the timestamp for the start or end of day respectively, i.e. the time part is dropped. This renders the timepicker part useless.

qzminski commented 8 years ago

@Toflar is it intended behavior?

Toflar commented 8 years ago

How can this be intended? Obviously this is a bug :)

qzminski commented 8 years ago

Fixed in 569f59b.