From 9cc658b4913b95556f61359b2c72098d26cbc93b Mon Sep 17 00:00:00 2001 From: Namho Kim Date: Mon, 13 Apr 2020 18:09:05 -0700 Subject: [PATCH 1/2] specify that `timestamp` returns UTC --- website/docs/configuration/functions/timestamp.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/configuration/functions/timestamp.html.md b/website/docs/configuration/functions/timestamp.html.md index 52d752f071..e4cf18eaf9 100644 --- a/website/docs/configuration/functions/timestamp.html.md +++ b/website/docs/configuration/functions/timestamp.html.md @@ -13,7 +13,7 @@ description: |- earlier, see [0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html). -`timestamp` returns the current date and time. +`timestamp` returns the current date and time in UTC. In the Terraform language, timestamps are conventionally represented as strings using [RFC 3339](https://tools.ietf.org/html/rfc3339) From 5e35dedc2a31200568b0cd2c0345abe22d13a48f Mon Sep 17 00:00:00 2001 From: Daniel Dreier Date: Thu, 21 May 2020 14:29:38 -0700 Subject: [PATCH 2/2] Update website/docs/configuration/functions/timestamp.html.md Co-authored-by: Matthew Sanabria <24284972+sudomateo@users.noreply.github.com> --- website/docs/configuration/functions/timestamp.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/configuration/functions/timestamp.html.md b/website/docs/configuration/functions/timestamp.html.md index e4cf18eaf9..13b993d39c 100644 --- a/website/docs/configuration/functions/timestamp.html.md +++ b/website/docs/configuration/functions/timestamp.html.md @@ -13,7 +13,7 @@ description: |- earlier, see [0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html). -`timestamp` returns the current date and time in UTC. +`timestamp` returns a UTC timestamp string in [RFC 3339](https://tools.ietf.org/html/rfc3339) format. In the Terraform language, timestamps are conventionally represented as strings using [RFC 3339](https://tools.ietf.org/html/rfc3339)