Skip to content

Commit

Permalink
Add string conversion for timestamp and duration to spec (#195)
Browse files Browse the repository at this point in the history
These are present in the conformance tests.
  • Loading branch information
jsannemo authored Jul 29, 2021
1 parent c942222 commit ad5c42c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion doc/langdef.md
Original file line number Diff line number Diff line change
Expand Up @@ -2200,7 +2200,7 @@ See [cel-go/issues/9](https://github.com/google/cel-go/issues/9).
</td>
</tr>
<tr>
<th rowspan="5">
<th rowspan="7">
string
</th>
<td>
Expand Down Expand Up @@ -2242,6 +2242,22 @@ See [cel-go/issues/9](https://github.com/google/cel-go/issues/9).
type conversion
</td>
</tr>
<tr>
<td>
(timestamp) -> string
</td>
<td>
type conversion, using the same format as timestamp string parsing
</td>
</tr>
<tr>
<td>
(duration) -> string
</td>
<td>
type conversion, using the same format as duration string parsing
</td>
</tr>
<tr>
<th rowspan="1">
timestamp
Expand Down

0 comments on commit ad5c42c

Please sign in to comment.