Cannot reproduce Nullable datetime input filter type does not work

TickTackk

Well-known member
Affected version
2.2.2
PHP:
$startTime = $this->filter('start_time', '?datetime');
^ That will return 0 even if the start_time does not exist the in the request.
 
Would you mind checking again? I can't reproduce the issue. I get null if the start_time value is not included in the request.

This isn't something that is filter type specific so it should (and does in my testing) work on any type, including datetime.
 
Top Bottom