ashb commented on a change in pull request #4061: [AIRFLOW-2799] Fix filtering
UI objects by datetime
URL: https://github.com/apache/incubator-airflow/pull/4061#discussion_r230207805
##########
File path: airflow/www/utils.py
##########
@@ -448,7 +448,42 @@ def __call__(self, field, **kwargs):
return wtforms.widgets.core.HTMLString(html)
-class UtcFilterConverter(FilterConverter):
+class UtcDateTimeFilterMixin(object):
+ def clean(self, value):
+ return timezone.make_aware(super(UtcDateTimeFilterMixin,
self).clean(value))
Review comment:
Fixed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services