Skip to content

Commit

Permalink
Update time.md
Browse files Browse the repository at this point in the history
  • Loading branch information
goccy committed Aug 21, 2024
1 parent ff68083 commit 2ba7058
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/cel/time.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ FYI: https://pkg.go.dev/time#Location
### Examples

```cel
googl.protobuf.Timestamp{}.asTime() //=> grpc.federation.time.Time{timestamp: google.protobuf.Timestamp{}}
google.protobuf.Timestamp{}.asTime() //=> grpc.federation.time.Time{timestamp: google.protobuf.Timestamp{}}
```

## Time

A `Time` represents an instant in time with nanosecond precision. `Time` type is compatible with [`google.protobuf.Timestamp`](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/timestamp.proto) type.
A `Time` represents `google.protobuf.Timestamp` with time zone.

# Constants

Expand Down

0 comments on commit 2ba7058

Please sign in to comment.