You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2018/11/01 21:36:06 UTC
[GitHub] ashb commented on a change in pull request #4061: [AIRFLOW-2799]
Fix filtering UI objects by datetime
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:
users@infra.apache.org
With regards,
Apache Git Services