website: correct the synopsis on the formatdate function page

Was using "format" instead of "formatdate".
This commit is contained in:
Martin Atkins 2019-05-17 14:42:00 -07:00 committed by GitHub
parent cbebb7cdf1
commit 5af8bcff2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ earlier, see
`formatdate` converts a timestamp into a different time format.
```hcl
format(spec, timestamp)
formatdate(spec, timestamp)
```
In the Terraform language, timestamps are conventionally represented as