Skip to content

Commit 1c00864

Browse files
authored
Merge pull request #164 from louisguitton/patch-1
Show correct usage information for the dateadd macro
2 parents 4b1c124 + 3925a38 commit 1c00864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This macro adds a time/day interval to the supplied date/timestamp. Note: The `d
2020

2121
Usage:
2222
```
23-
{{ dbt_utils.dateadd(datepart='day', interval=1, from_date_or_timestamp='2017-01-01') }}
23+
{{ dbt_utils.dateadd(datepart='day', interval=1, from_date_or_timestamp="'2017-01-01'") }}
2424
```
2525

2626
#### datediff ([source](macros/cross_db_utils/datediff.sql))

0 commit comments

Comments
 (0)