Skip to content

Commit

Permalink
feat: update add_intervals functions with option for days in a year
Browse files Browse the repository at this point in the history
  • Loading branch information
scgkiran committed Nov 12, 2024
1 parent 1f9c710 commit f6c37bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extensions/functions_datetime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,9 @@ scalar_functions:
value: interval_year
- name: y
value: interval_year
options:
days_in_year:
values: [ YEAR_366DAYS, YEAR_365DAYS, YEAR_360DAYS ]
return: interval_year
-
name: "subtract"
Expand Down

0 comments on commit f6c37bc

Please sign in to comment.