You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (Jira)" <ji...@apache.org> on 2020/01/19 23:37:06 UTC

[jira] [Closed] (AIRFLOW-3221) RBAC-date filter mangles input sub-second datetimes in JS

     [ https://issues.apache.org/jira/browse/AIRFLOW-3221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Potiuk closed AIRFLOW-3221.
---------------------------------
    Resolution: Won't Fix

I am closing some old issues that are not relevant any more. Please let me know if you want to reopen it.

> 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
>            Priority: Minor
>             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
(v8.3.4#803005)