Skip to content

Commit 3925a38

Browse files
authored
Show correct usage information for the dateadd macro
Fix dbt-labs#163
1 parent 4b1c124 commit 3925a38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
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)