postman-app-support icon indicating copy to clipboard operation
postman-app-support copied to clipboard

Present google.protobuf.Timestamp as Readable Timestamp

Open jonkight opened this issue 3 years ago • 2 comments

Is there an existing request for this feature?

  • [X] I have searched the existing issues for this feature request and I know that duplicates will be closed

Is your feature request related to a problem?

When using the new gRPC support, I noticed google.protobuf.Timestamp fields are rendered as nanos / seconds instead of a human readable format (e.g. ISO 8601). This makes it really hard to interact with timestamps. This will prevent our company from adopting the new functionality as it's not as usable as competitor tools.

Describe the solution you'd like

First-class support for interacting with google.protobuf.Timestamp as a timestamp of date formats and not nanos / seconds. For instance, grpcui, has datetime pickers for requests, renders response fields as string timestamps (e.g. "created_time": "2020-10-28T03:28:28.372633Z"), etc.

Describe alternatives you've considered

No response

Additional context

No response

jonkight avatar Sep 16 '22 04:09 jonkight

We also use such timestamps in responses of server streaming RPCs and need them in a human readable format. I already tried to solve this problem using an "After response" script but unfortunaly these are not called for server streaming responses. See: https://learning.postman.com/docs/sending-requests/grpc/scripting-in-grpc-request/

bfreib avatar Apr 24 '23 13:04 bfreib

This correlates to #12619.

atosscsd-bb avatar Apr 30 '24 08:04 atosscsd-bb