Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
repos
data-engineering
Airflow DAGs
Commits
4691d2e9
Commit
4691d2e9
authored
Oct 04, 2022
by
Snwachukwu
Browse files
Update to_time_nodash filter value to 'HHmmss'
parent
46d04b18
Pipeline
#6503
passed with stage
in 5 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
wmf_airflow_common/templates/time_filters.py
View file @
4691d2e9
...
...
@@ -15,7 +15,7 @@ filters = {
'to_ds'
:
lambda
dt
:
dt
.
format
(
'YYYY-MM-DD'
),
'to_ds_nodash'
:
lambda
dt
:
dt
.
format
(
'YYYYMMDD'
),
'to_ds_hour_nodash'
:
lambda
dt
:
dt
.
format
(
'YYYYMMDDHH'
),
'to_time_nodash'
:
lambda
dt
:
dt
.
format
(
'HH
MMSS
'
),
'to_time_nodash'
:
lambda
dt
:
dt
.
format
(
'HH
mmss
'
),
# Month
'start_of_current_month'
:
lambda
dt
:
dt
.
start_of
(
'month'
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment