airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ash Berlin-Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-3221) RBAC-date filter mangles input sub-second datetimes in JS
Date Wed, 17 Oct 2018 08:46:01 GMT
Ash Berlin-Taylor created AIRFLOW-3221:
------------------------------------------

             Summary: RBAC-date filter mangles input sub-second datetimes in JS
                 Key: AIRFLOW-3221
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3221
             Project: Apache Airflow
          Issue Type: Improvement
          Components: ui
            Reporter: Ash Berlin-Taylor
             Fix For: 1.10.0


The JS used to generate the DateTime picker for the "Search"/filter actions for any date time
coluum will not accept sub-second precision - even if you manually type it in, the JS will
"helpfully" parse and reformat the input by deleting the subsecond part.

To reproduce:
- Browse -> Task Instances
- Expand "Search"
- Add a filter on a date column (Start Date say)
- Type/paste {{2018-10-16 20:24:26.375717+01:00}} in the box 
- tab to move focus elsewhere
- See the value change to {{2018-10-17 09:44:32}}!! (note different day and time!)

If you manually edit the URL then the original input is accepted fine.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message