Skip to content

Commit

Permalink
Change marco month_name.sql (#123)
Browse files Browse the repository at this point in the history
* in marco spark__month_name we change the month identifier from L to M

Co-authored-by: Felix Haag <Felix.Haag@swisslife-am.com>
  • Loading branch information
flixflop and Felix Haag authored Apr 5, 2024
1 parent 3580a09 commit 9e3fa15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/calendar_date/month_name.sql
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{%- endmacro %}

{%- macro spark__month_name(date, short) -%}
{%- set f = 'LLL' if short else 'LLLL' -%}
{%- set f = 'MMM' if short else 'MMMM' -%}
date_format({{ date }}, '{{ f }}')
{%- endmacro %}

Expand Down

0 comments on commit 9e3fa15

Please sign in to comment.