google / cel-spec

Common Expression Language -- specification and binary representation
https://cel.dev
Apache License 2.0
2.78k stars 222 forks source link

Add timestamp(int) to the spec #224

Closed jsannemo closed 2 years ago

jsannemo commented 2 years ago

cel-go and the compliance tests support timestamp(int) for creating timestamps from Unix timestamps in seconds. This should be added to the spec.

TristonianJones commented 2 years ago

Thanks for filing. This is a duplicate of #122. I intend to update the spec function table docs in the coming quarter and will make sure to include this function then.