Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add string conversion for timestamp and duration to spec #195

Merged
merged 1 commit into from
Jul 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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