From 8f98c2fab50d764c949dd5fb59fdc7bbeb067849 Mon Sep 17 00:00:00 2001 From: Johan Sannemo Date: Fri, 11 Jun 2021 20:46:55 +0200 Subject: [PATCH] Add string conversion for timestamp and duration to spec These are present in the conformance tests. --- doc/langdef.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/doc/langdef.md b/doc/langdef.md index de8431a9..b6c714bb 100644 --- a/doc/langdef.md +++ b/doc/langdef.md @@ -2200,7 +2200,7 @@ See [cel-go/issues/9](https://github.com/google/cel-go/issues/9). - + string @@ -2242,6 +2242,22 @@ See [cel-go/issues/9](https://github.com/google/cel-go/issues/9). type conversion + + + (timestamp) -> string + + + type conversion, using the same format as timestamp string parsing + + + + + (duration) -> string + + + type conversion, using the same format as duration string parsing + + timestamp