This patch disables Superset’s built-in time_range filter whenever Jinja templates
{{ from_dttm }} or {{ to_dttm }} appear in any of the following:
- Dataset SQL
- Calculated metrics
- Adhoc filters
As a result, no automatic date filter is applied when those templates are used.