[
https://issues.apache.org/jira/browse/AIRFLOW-3447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16710235#comment-16710235
]
Luka Draksler commented on AIRFLOW-3447:
----------------------------------------
We simply replaced ts_nodash in models.py with
{code:java}
ts_nodash = self.execution_date.strftime('%Y%m%dT%H%M%S')
{code}
resulting in the same value as before
> Intended usage of ts_nodash macro broken with migration to new time system.
> ---------------------------------------------------------------------------
>
> Key: AIRFLOW-3447
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3447
> Project: Apache Airflow
> Issue Type: Bug
> Components: core
> Reporter: Luka Draksler
> Priority: Minor
> Labels: easyfix
>
> Migration to timezone aware times broke the intended usage of ts_nodash macro.
> ts_nodash is used in certain placeholders to create different names (table
> names, cluster names...). As such it is alphanumeric only, it contains no
> characters that could be deemed illegal by various naming restrictions.
> Migration to new time system changed that.
> As an example, this would be returned currently:
> {{20181205T125657.169324+0000}}
> {{before:}}
> {{20181204T030000}}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)